xref: /linux/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml (revision ca29699a57ecee6084a4056f5bfd6f11dd359a71)
14dbe55c9SKrishna Manikandan# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
24dbe55c9SKrishna Manikandan%YAML 1.2
34dbe55c9SKrishna Manikandan---
44dbe55c9SKrishna Manikandan$id: http://devicetree.org/schemas/display/msm/dsi-controller-main.yaml#
54dbe55c9SKrishna Manikandan$schema: http://devicetree.org/meta-schemas/core.yaml#
64dbe55c9SKrishna Manikandan
74dbe55c9SKrishna Manikandantitle: Qualcomm Display DSI controller
84dbe55c9SKrishna Manikandan
94dbe55c9SKrishna Manikandanmaintainers:
10cce65bb2SKrishna Manikandan  - Krishna Manikandan <quic_mkrishn@quicinc.com>
114dbe55c9SKrishna Manikandan
124dbe55c9SKrishna Manikandanproperties:
134dbe55c9SKrishna Manikandan  compatible:
140c0f65c6SBryan O'Donoghue    oneOf:
150c0f65c6SBryan O'Donoghue      - items:
160c0f65c6SBryan O'Donoghue          - enum:
170c0f65c6SBryan O'Donoghue              - qcom,apq8064-dsi-ctrl
180c0f65c6SBryan O'Donoghue              - qcom,msm8916-dsi-ctrl
190c0f65c6SBryan O'Donoghue              - qcom,msm8953-dsi-ctrl
200c0f65c6SBryan O'Donoghue              - qcom,msm8974-dsi-ctrl
210c0f65c6SBryan O'Donoghue              - qcom,msm8996-dsi-ctrl
220c0f65c6SBryan O'Donoghue              - qcom,msm8998-dsi-ctrl
230c0f65c6SBryan O'Donoghue              - qcom,qcm2290-dsi-ctrl
240c0f65c6SBryan O'Donoghue              - qcom,sc7180-dsi-ctrl
250c0f65c6SBryan O'Donoghue              - qcom,sc7280-dsi-ctrl
260c0f65c6SBryan O'Donoghue              - qcom,sdm660-dsi-ctrl
270c0f65c6SBryan O'Donoghue              - qcom,sdm845-dsi-ctrl
287360fc8bSKonrad Dybcio              - qcom,sm6115-dsi-ctrl
290c0f65c6SBryan O'Donoghue              - qcom,sm8150-dsi-ctrl
300c0f65c6SBryan O'Donoghue              - qcom,sm8250-dsi-ctrl
310c0f65c6SBryan O'Donoghue              - qcom,sm8350-dsi-ctrl
320c0f65c6SBryan O'Donoghue              - qcom,sm8450-dsi-ctrl
330c0f65c6SBryan O'Donoghue              - qcom,sm8550-dsi-ctrl
340c0f65c6SBryan O'Donoghue          - const: qcom,mdss-dsi-ctrl
350c0f65c6SBryan O'Donoghue      - enum:
3636b0d6c1SKonrad Dybcio          - qcom,dsi-ctrl-6g-qcm2290
3736b0d6c1SKonrad Dybcio          - qcom,mdss-dsi-ctrl # This should always come with an SoC-specific compatible
380c0f65c6SBryan O'Donoghue        deprecated: true
394dbe55c9SKrishna Manikandan
404dbe55c9SKrishna Manikandan  reg:
414dbe55c9SKrishna Manikandan    maxItems: 1
424dbe55c9SKrishna Manikandan
434dbe55c9SKrishna Manikandan  reg-names:
444dbe55c9SKrishna Manikandan    const: dsi_ctrl
454dbe55c9SKrishna Manikandan
464dbe55c9SKrishna Manikandan  interrupts:
474dbe55c9SKrishna Manikandan    maxItems: 1
484dbe55c9SKrishna Manikandan
494dbe55c9SKrishna Manikandan  clocks:
50d10bdc6eSBryan O'Donoghue    description: |
51d10bdc6eSBryan O'Donoghue      Several clocks are used, depending on the variant. Typical ones are::
52d10bdc6eSBryan O'Donoghue       - bus:: Display AHB clock.
53d10bdc6eSBryan O'Donoghue       - byte:: Display byte clock.
54d10bdc6eSBryan O'Donoghue       - byte_intf:: Display byte interface clock.
55d10bdc6eSBryan O'Donoghue       - core:: Display core clock.
56d10bdc6eSBryan O'Donoghue       - core_mss:: Core MultiMedia SubSystem clock.
57d10bdc6eSBryan O'Donoghue       - iface:: Display AXI clock.
58d10bdc6eSBryan O'Donoghue       - mdp_core:: MDP Core clock.
59d10bdc6eSBryan O'Donoghue       - mnoc:: MNOC clock
60d10bdc6eSBryan O'Donoghue       - pixel:: Display pixel clock.
61d10bdc6eSBryan O'Donoghue    minItems: 3
62d10bdc6eSBryan O'Donoghue    maxItems: 9
634dbe55c9SKrishna Manikandan
644dbe55c9SKrishna Manikandan  clock-names:
65d10bdc6eSBryan O'Donoghue    minItems: 3
66d10bdc6eSBryan O'Donoghue    maxItems: 9
674dbe55c9SKrishna Manikandan
684dbe55c9SKrishna Manikandan  phys:
694dbe55c9SKrishna Manikandan    maxItems: 1
704dbe55c9SKrishna Manikandan
714dbe55c9SKrishna Manikandan  phy-names:
72c5415562SBryan O'Donoghue    deprecated: true
734dbe55c9SKrishna Manikandan    const: dsi
744dbe55c9SKrishna Manikandan
754dbe55c9SKrishna Manikandan  syscon-sfpb:
764dbe55c9SKrishna Manikandan    description: A phandle to mmss_sfpb syscon node (only for DSIv2).
774dbe55c9SKrishna Manikandan    $ref: "/schemas/types.yaml#/definitions/phandle"
784dbe55c9SKrishna Manikandan
794dbe55c9SKrishna Manikandan  qcom,dual-dsi-mode:
804dbe55c9SKrishna Manikandan    type: boolean
814dbe55c9SKrishna Manikandan    description: |
824dbe55c9SKrishna Manikandan      Indicates if the DSI controller is driving a panel which needs
834dbe55c9SKrishna Manikandan      2 DSI links.
844dbe55c9SKrishna Manikandan
85*ca29699aSJianhua Lu  qcom,master-dsi:
86*ca29699aSJianhua Lu    type: boolean
87*ca29699aSJianhua Lu    description: |
88*ca29699aSJianhua Lu      Indicates if the DSI controller is the master DSI controller when
89*ca29699aSJianhua Lu      qcom,dual-dsi-mode enabled.
90*ca29699aSJianhua Lu
91*ca29699aSJianhua Lu  qcom,sync-dual-dsi:
92*ca29699aSJianhua Lu    type: boolean
93*ca29699aSJianhua Lu    description: |
94*ca29699aSJianhua Lu      Indicates if the DSI controller needs to sync the other DSI controller
95*ca29699aSJianhua Lu      with MIPI DCS commands when qcom,dual-dsi-mode enabled.
96*ca29699aSJianhua Lu
97061a9aeaSDmitry Baryshkov  assigned-clocks:
982f8e5f8bSDmitry Baryshkov    minItems: 2
992f8e5f8bSDmitry Baryshkov    maxItems: 4
100061a9aeaSDmitry Baryshkov    description: |
101061a9aeaSDmitry Baryshkov      Parents of "byte" and "pixel" for the given platform.
1022f8e5f8bSDmitry Baryshkov      For DSIv2 platforms this should contain "byte", "esc", "src" and
1032f8e5f8bSDmitry Baryshkov      "pixel_src" clocks.
104061a9aeaSDmitry Baryshkov
105061a9aeaSDmitry Baryshkov  assigned-clock-parents:
1062f8e5f8bSDmitry Baryshkov    minItems: 2
1072f8e5f8bSDmitry Baryshkov    maxItems: 4
108061a9aeaSDmitry Baryshkov    description: |
109061a9aeaSDmitry Baryshkov      The Byte clock and Pixel clock PLL outputs provided by a DSI PHY block.
110061a9aeaSDmitry Baryshkov
1114dbe55c9SKrishna Manikandan  power-domains:
1124dbe55c9SKrishna Manikandan    maxItems: 1
1134dbe55c9SKrishna Manikandan
1144dbe55c9SKrishna Manikandan  operating-points-v2: true
1154dbe55c9SKrishna Manikandan
116bac4ccceSDmitry Baryshkov  opp-table:
117bac4ccceSDmitry Baryshkov    type: object
118bac4ccceSDmitry Baryshkov
1194dbe55c9SKrishna Manikandan  ports:
1204dbe55c9SKrishna Manikandan    $ref: "/schemas/graph.yaml#/properties/ports"
1214dbe55c9SKrishna Manikandan    description: |
1224dbe55c9SKrishna Manikandan      Contains DSI controller input and output ports as children, each
1234dbe55c9SKrishna Manikandan      containing one endpoint subnode.
1244dbe55c9SKrishna Manikandan
1254dbe55c9SKrishna Manikandan    properties:
1264dbe55c9SKrishna Manikandan      port@0:
127b4db237eSRob Herring        $ref: "/schemas/graph.yaml#/$defs/port-base"
128b4db237eSRob Herring        unevaluatedProperties: false
1294dbe55c9SKrishna Manikandan        description: |
1304dbe55c9SKrishna Manikandan          Input endpoints of the controller.
1314dbe55c9SKrishna Manikandan        properties:
1324dbe55c9SKrishna Manikandan          endpoint:
1334dbe55c9SKrishna Manikandan            $ref: /schemas/media/video-interfaces.yaml#
1344dbe55c9SKrishna Manikandan            unevaluatedProperties: false
1354dbe55c9SKrishna Manikandan            properties:
1364dbe55c9SKrishna Manikandan              data-lanes:
1374dbe55c9SKrishna Manikandan                maxItems: 4
1382fd5293dSDmitry Baryshkov                minItems: 1
1394dbe55c9SKrishna Manikandan                items:
1404dbe55c9SKrishna Manikandan                  enum: [ 0, 1, 2, 3 ]
1414dbe55c9SKrishna Manikandan
1424dbe55c9SKrishna Manikandan      port@1:
143b4db237eSRob Herring        $ref: "/schemas/graph.yaml#/$defs/port-base"
144b4db237eSRob Herring        unevaluatedProperties: false
1454dbe55c9SKrishna Manikandan        description: |
1464dbe55c9SKrishna Manikandan          Output endpoints of the controller.
1474dbe55c9SKrishna Manikandan        properties:
1484dbe55c9SKrishna Manikandan          endpoint:
1494dbe55c9SKrishna Manikandan            $ref: /schemas/media/video-interfaces.yaml#
1504dbe55c9SKrishna Manikandan            unevaluatedProperties: false
1514dbe55c9SKrishna Manikandan            properties:
1524dbe55c9SKrishna Manikandan              data-lanes:
1534dbe55c9SKrishna Manikandan                maxItems: 4
1542fd5293dSDmitry Baryshkov                minItems: 1
1554dbe55c9SKrishna Manikandan                items:
1564dbe55c9SKrishna Manikandan                  enum: [ 0, 1, 2, 3 ]
1574dbe55c9SKrishna Manikandan
1584dbe55c9SKrishna Manikandan    required:
1594dbe55c9SKrishna Manikandan      - port@0
1604dbe55c9SKrishna Manikandan      - port@1
1614dbe55c9SKrishna Manikandan
16205c578d5SDmitry Baryshkov  avdd-supply:
16305c578d5SDmitry Baryshkov    description:
16405c578d5SDmitry Baryshkov      Phandle to vdd regulator device node
16505c578d5SDmitry Baryshkov
16605c578d5SDmitry Baryshkov  vcca-supply:
16705c578d5SDmitry Baryshkov    description:
16805c578d5SDmitry Baryshkov      Phandle to vdd regulator device node
16905c578d5SDmitry Baryshkov
170adf6a3ebSBryan O'Donoghue  vdd-supply:
171adf6a3ebSBryan O'Donoghue    description:
172adf6a3ebSBryan O'Donoghue      VDD regulator
173adf6a3ebSBryan O'Donoghue
174adf6a3ebSBryan O'Donoghue  vddio-supply:
175adf6a3ebSBryan O'Donoghue    description:
176adf6a3ebSBryan O'Donoghue      VDD-IO regulator
177adf6a3ebSBryan O'Donoghue
178adf6a3ebSBryan O'Donoghue  vdda-supply:
179adf6a3ebSBryan O'Donoghue    description:
180adf6a3ebSBryan O'Donoghue      VDDA regulator
181adf6a3ebSBryan O'Donoghue
1824dbe55c9SKrishna Manikandanrequired:
1834dbe55c9SKrishna Manikandan  - compatible
1844dbe55c9SKrishna Manikandan  - reg
1854dbe55c9SKrishna Manikandan  - reg-names
1864dbe55c9SKrishna Manikandan  - interrupts
1874dbe55c9SKrishna Manikandan  - clocks
1884dbe55c9SKrishna Manikandan  - clock-names
1894dbe55c9SKrishna Manikandan  - phys
190061a9aeaSDmitry Baryshkov  - assigned-clocks
191061a9aeaSDmitry Baryshkov  - assigned-clock-parents
1924dbe55c9SKrishna Manikandan  - ports
1934dbe55c9SKrishna Manikandan
194d10bdc6eSBryan O'DonoghueallOf:
195d10bdc6eSBryan O'Donoghue  - $ref: ../dsi-controller.yaml#
196d10bdc6eSBryan O'Donoghue  - if:
197d10bdc6eSBryan O'Donoghue      properties:
198d10bdc6eSBryan O'Donoghue        compatible:
199d10bdc6eSBryan O'Donoghue          contains:
200d10bdc6eSBryan O'Donoghue            enum:
201d10bdc6eSBryan O'Donoghue              - qcom,apq8064-dsi-ctrl
202d10bdc6eSBryan O'Donoghue    then:
203d10bdc6eSBryan O'Donoghue      properties:
204d10bdc6eSBryan O'Donoghue        clocks:
205d10bdc6eSBryan O'Donoghue          maxItems: 7
206d10bdc6eSBryan O'Donoghue        clock-names:
207d10bdc6eSBryan O'Donoghue          items:
208d10bdc6eSBryan O'Donoghue            - const: iface
209d10bdc6eSBryan O'Donoghue            - const: bus
210d10bdc6eSBryan O'Donoghue            - const: core_mmss
211d10bdc6eSBryan O'Donoghue            - const: src
212d10bdc6eSBryan O'Donoghue            - const: byte
213d10bdc6eSBryan O'Donoghue            - const: pixel
214d10bdc6eSBryan O'Donoghue            - const: core
215d10bdc6eSBryan O'Donoghue
216d10bdc6eSBryan O'Donoghue  - if:
217d10bdc6eSBryan O'Donoghue      properties:
218d10bdc6eSBryan O'Donoghue        compatible:
219d10bdc6eSBryan O'Donoghue          contains:
220d10bdc6eSBryan O'Donoghue            enum:
221d10bdc6eSBryan O'Donoghue              - qcom,msm8916-dsi-ctrl
222d10bdc6eSBryan O'Donoghue    then:
223d10bdc6eSBryan O'Donoghue      properties:
224d10bdc6eSBryan O'Donoghue        clocks:
225d10bdc6eSBryan O'Donoghue          maxItems: 6
226d10bdc6eSBryan O'Donoghue        clock-names:
227d10bdc6eSBryan O'Donoghue          items:
228d10bdc6eSBryan O'Donoghue            - const: mdp_core
229d10bdc6eSBryan O'Donoghue            - const: iface
230d10bdc6eSBryan O'Donoghue            - const: bus
231d10bdc6eSBryan O'Donoghue            - const: byte
232d10bdc6eSBryan O'Donoghue            - const: pixel
233d10bdc6eSBryan O'Donoghue            - const: core
234d10bdc6eSBryan O'Donoghue
235d10bdc6eSBryan O'Donoghue  - if:
236d10bdc6eSBryan O'Donoghue      properties:
237d10bdc6eSBryan O'Donoghue        compatible:
238d10bdc6eSBryan O'Donoghue          contains:
239d10bdc6eSBryan O'Donoghue            enum:
240d10bdc6eSBryan O'Donoghue              - qcom,msm8953-dsi-ctrl
241d10bdc6eSBryan O'Donoghue    then:
242d10bdc6eSBryan O'Donoghue      properties:
243d10bdc6eSBryan O'Donoghue        clocks:
244d10bdc6eSBryan O'Donoghue          maxItems: 6
245d10bdc6eSBryan O'Donoghue        clock-names:
246d10bdc6eSBryan O'Donoghue          items:
247d10bdc6eSBryan O'Donoghue            - const: mdp_core
248d10bdc6eSBryan O'Donoghue            - const: iface
249d10bdc6eSBryan O'Donoghue            - const: bus
250d10bdc6eSBryan O'Donoghue            - const: byte
251d10bdc6eSBryan O'Donoghue            - const: pixel
252d10bdc6eSBryan O'Donoghue            - const: core
253d10bdc6eSBryan O'Donoghue
254d10bdc6eSBryan O'Donoghue  - if:
255d10bdc6eSBryan O'Donoghue      properties:
256d10bdc6eSBryan O'Donoghue        compatible:
257d10bdc6eSBryan O'Donoghue          contains:
258d10bdc6eSBryan O'Donoghue            enum:
259d10bdc6eSBryan O'Donoghue              - qcom,msm8974-dsi-ctrl
260d10bdc6eSBryan O'Donoghue    then:
261d10bdc6eSBryan O'Donoghue      properties:
262d10bdc6eSBryan O'Donoghue        clocks:
263d10bdc6eSBryan O'Donoghue          maxItems: 7
264d10bdc6eSBryan O'Donoghue        clock-names:
265d10bdc6eSBryan O'Donoghue          items:
266d10bdc6eSBryan O'Donoghue            - const: mdp_core
267d10bdc6eSBryan O'Donoghue            - const: iface
268d10bdc6eSBryan O'Donoghue            - const: bus
269d10bdc6eSBryan O'Donoghue            - const: byte
270d10bdc6eSBryan O'Donoghue            - const: pixel
271d10bdc6eSBryan O'Donoghue            - const: core
272d10bdc6eSBryan O'Donoghue            - const: core_mmss
273d10bdc6eSBryan O'Donoghue
274d10bdc6eSBryan O'Donoghue  - if:
275d10bdc6eSBryan O'Donoghue      properties:
276d10bdc6eSBryan O'Donoghue        compatible:
277d10bdc6eSBryan O'Donoghue          contains:
278d10bdc6eSBryan O'Donoghue            enum:
279d10bdc6eSBryan O'Donoghue              - qcom,msm8996-dsi-ctrl
280d10bdc6eSBryan O'Donoghue    then:
281d10bdc6eSBryan O'Donoghue      properties:
282d10bdc6eSBryan O'Donoghue        clocks:
283d10bdc6eSBryan O'Donoghue          maxItems: 7
284d10bdc6eSBryan O'Donoghue        clock-names:
285d10bdc6eSBryan O'Donoghue          items:
286d10bdc6eSBryan O'Donoghue            - const: mdp_core
287d10bdc6eSBryan O'Donoghue            - const: byte
288d10bdc6eSBryan O'Donoghue            - const: iface
289d10bdc6eSBryan O'Donoghue            - const: bus
290d10bdc6eSBryan O'Donoghue            - const: core_mmss
291d10bdc6eSBryan O'Donoghue            - const: pixel
292d10bdc6eSBryan O'Donoghue            - const: core
293d10bdc6eSBryan O'Donoghue
294d10bdc6eSBryan O'Donoghue  - if:
295d10bdc6eSBryan O'Donoghue      properties:
296d10bdc6eSBryan O'Donoghue        compatible:
297d10bdc6eSBryan O'Donoghue          contains:
298d10bdc6eSBryan O'Donoghue            enum:
299d10bdc6eSBryan O'Donoghue              - qcom,msm8998-dsi-ctrl
300d10bdc6eSBryan O'Donoghue    then:
301d10bdc6eSBryan O'Donoghue      properties:
302d10bdc6eSBryan O'Donoghue        clocks:
303d10bdc6eSBryan O'Donoghue          maxItems: 6
304d10bdc6eSBryan O'Donoghue        clock-names:
305d10bdc6eSBryan O'Donoghue          items:
306d10bdc6eSBryan O'Donoghue            - const: byte
307d10bdc6eSBryan O'Donoghue            - const: byte_intf
308d10bdc6eSBryan O'Donoghue            - const: pixel
309d10bdc6eSBryan O'Donoghue            - const: core
310d10bdc6eSBryan O'Donoghue            - const: iface
311d10bdc6eSBryan O'Donoghue            - const: bus
312d10bdc6eSBryan O'Donoghue
313d10bdc6eSBryan O'Donoghue  - if:
314d10bdc6eSBryan O'Donoghue      properties:
315d10bdc6eSBryan O'Donoghue        compatible:
316d10bdc6eSBryan O'Donoghue          contains:
317d10bdc6eSBryan O'Donoghue            enum:
318d10bdc6eSBryan O'Donoghue              - qcom,sc7180-dsi-ctrl
319d10bdc6eSBryan O'Donoghue              - qcom,sc7280-dsi-ctrl
320d10bdc6eSBryan O'Donoghue              - qcom,sm8150-dsi-ctrl
321d10bdc6eSBryan O'Donoghue              - qcom,sm8250-dsi-ctrl
322d10bdc6eSBryan O'Donoghue              - qcom,sm8350-dsi-ctrl
323d10bdc6eSBryan O'Donoghue              - qcom,sm8450-dsi-ctrl
324d10bdc6eSBryan O'Donoghue              - qcom,sm8550-dsi-ctrl
325d10bdc6eSBryan O'Donoghue    then:
326d10bdc6eSBryan O'Donoghue      properties:
327d10bdc6eSBryan O'Donoghue        clocks:
328d10bdc6eSBryan O'Donoghue          maxItems: 6
329d10bdc6eSBryan O'Donoghue        clock-names:
330d10bdc6eSBryan O'Donoghue          items:
331d10bdc6eSBryan O'Donoghue            - const: byte
332d10bdc6eSBryan O'Donoghue            - const: byte_intf
333d10bdc6eSBryan O'Donoghue            - const: pixel
334d10bdc6eSBryan O'Donoghue            - const: core
335d10bdc6eSBryan O'Donoghue            - const: iface
336d10bdc6eSBryan O'Donoghue            - const: bus
337d10bdc6eSBryan O'Donoghue
338d10bdc6eSBryan O'Donoghue  - if:
339d10bdc6eSBryan O'Donoghue      properties:
340d10bdc6eSBryan O'Donoghue        compatible:
341d10bdc6eSBryan O'Donoghue          contains:
342d10bdc6eSBryan O'Donoghue            enum:
343d10bdc6eSBryan O'Donoghue              - qcom,sdm660-dsi-ctrl
344d10bdc6eSBryan O'Donoghue    then:
345d10bdc6eSBryan O'Donoghue      properties:
346d10bdc6eSBryan O'Donoghue        clocks:
347d10bdc6eSBryan O'Donoghue          maxItems: 9
348d10bdc6eSBryan O'Donoghue        clock-names:
349d10bdc6eSBryan O'Donoghue          items:
350d10bdc6eSBryan O'Donoghue            - const: mdp_core
351d10bdc6eSBryan O'Donoghue            - const: byte
352d10bdc6eSBryan O'Donoghue            - const: byte_intf
353d10bdc6eSBryan O'Donoghue            - const: mnoc
354d10bdc6eSBryan O'Donoghue            - const: iface
355d10bdc6eSBryan O'Donoghue            - const: bus
356d10bdc6eSBryan O'Donoghue            - const: core_mmss
357d10bdc6eSBryan O'Donoghue            - const: pixel
358d10bdc6eSBryan O'Donoghue            - const: core
359d10bdc6eSBryan O'Donoghue
360d10bdc6eSBryan O'Donoghue  - if:
361d10bdc6eSBryan O'Donoghue      properties:
362d10bdc6eSBryan O'Donoghue        compatible:
363d10bdc6eSBryan O'Donoghue          contains:
364d10bdc6eSBryan O'Donoghue            enum:
365d10bdc6eSBryan O'Donoghue              - qcom,sdm845-dsi-ctrl
3667360fc8bSKonrad Dybcio              - qcom,sm6115-dsi-ctrl
367d10bdc6eSBryan O'Donoghue    then:
368d10bdc6eSBryan O'Donoghue      properties:
369d10bdc6eSBryan O'Donoghue        clocks:
370d10bdc6eSBryan O'Donoghue          maxItems: 6
371d10bdc6eSBryan O'Donoghue        clock-names:
372d10bdc6eSBryan O'Donoghue          items:
373d10bdc6eSBryan O'Donoghue            - const: byte
374d10bdc6eSBryan O'Donoghue            - const: byte_intf
375d10bdc6eSBryan O'Donoghue            - const: pixel
376d10bdc6eSBryan O'Donoghue            - const: core
377d10bdc6eSBryan O'Donoghue            - const: iface
378d10bdc6eSBryan O'Donoghue            - const: bus
379d10bdc6eSBryan O'Donoghue
38065e83594SDmitry BaryshkovunevaluatedProperties: false
3814dbe55c9SKrishna Manikandan
3824dbe55c9SKrishna Manikandanexamples:
3834dbe55c9SKrishna Manikandan  - |
3844dbe55c9SKrishna Manikandan     #include <dt-bindings/interrupt-controller/arm-gic.h>
3854dbe55c9SKrishna Manikandan     #include <dt-bindings/clock/qcom,dispcc-sdm845.h>
3864dbe55c9SKrishna Manikandan     #include <dt-bindings/clock/qcom,gcc-sdm845.h>
3874dbe55c9SKrishna Manikandan     #include <dt-bindings/power/qcom-rpmpd.h>
3884dbe55c9SKrishna Manikandan
3894dbe55c9SKrishna Manikandan     dsi@ae94000 {
3900c0f65c6SBryan O'Donoghue           compatible = "qcom,sc7180-dsi-ctrl", "qcom,mdss-dsi-ctrl";
3914dbe55c9SKrishna Manikandan           reg = <0x0ae94000 0x400>;
3924dbe55c9SKrishna Manikandan           reg-names = "dsi_ctrl";
3934dbe55c9SKrishna Manikandan
3944dbe55c9SKrishna Manikandan           #address-cells = <1>;
3954dbe55c9SKrishna Manikandan           #size-cells = <0>;
3964dbe55c9SKrishna Manikandan
3974dbe55c9SKrishna Manikandan           interrupt-parent = <&mdss>;
3984dbe55c9SKrishna Manikandan           interrupts = <4>;
3994dbe55c9SKrishna Manikandan
4004dbe55c9SKrishna Manikandan           clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
4014dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
4024dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
4034dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_ESC0_CLK>,
4044dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_AHB_CLK>,
4054dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_AXI_CLK>;
4064dbe55c9SKrishna Manikandan           clock-names = "byte",
4074dbe55c9SKrishna Manikandan                         "byte_intf",
4084dbe55c9SKrishna Manikandan                         "pixel",
4094dbe55c9SKrishna Manikandan                         "core",
4104dbe55c9SKrishna Manikandan                         "iface",
4114dbe55c9SKrishna Manikandan                         "bus";
4124dbe55c9SKrishna Manikandan
4134dbe55c9SKrishna Manikandan           phys = <&dsi0_phy>;
4144dbe55c9SKrishna Manikandan           phy-names = "dsi";
4154dbe55c9SKrishna Manikandan
416061a9aeaSDmitry Baryshkov           assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
417061a9aeaSDmitry Baryshkov           assigned-clock-parents = <&dsi_phy 0>, <&dsi_phy 1>;
418061a9aeaSDmitry Baryshkov
4194dbe55c9SKrishna Manikandan           power-domains = <&rpmhpd SC7180_CX>;
4204dbe55c9SKrishna Manikandan           operating-points-v2 = <&dsi_opp_table>;
4214dbe55c9SKrishna Manikandan
4224dbe55c9SKrishna Manikandan           ports {
4234dbe55c9SKrishna Manikandan                  #address-cells = <1>;
4244dbe55c9SKrishna Manikandan                  #size-cells = <0>;
4254dbe55c9SKrishna Manikandan
4264dbe55c9SKrishna Manikandan                  port@0 {
4274dbe55c9SKrishna Manikandan                          reg = <0>;
4284dbe55c9SKrishna Manikandan                          dsi0_in: endpoint {
4294dbe55c9SKrishna Manikandan                                   remote-endpoint = <&dpu_intf1_out>;
4304dbe55c9SKrishna Manikandan                          };
4314dbe55c9SKrishna Manikandan                  };
4324dbe55c9SKrishna Manikandan
4334dbe55c9SKrishna Manikandan                  port@1 {
4344dbe55c9SKrishna Manikandan                          reg = <1>;
4354dbe55c9SKrishna Manikandan                          dsi0_out: endpoint {
4364dbe55c9SKrishna Manikandan                                   remote-endpoint = <&sn65dsi86_in>;
4374dbe55c9SKrishna Manikandan                                   data-lanes = <0 1 2 3>;
4384dbe55c9SKrishna Manikandan                          };
4394dbe55c9SKrishna Manikandan                  };
4404dbe55c9SKrishna Manikandan           };
4414dbe55c9SKrishna Manikandan     };
4424dbe55c9SKrishna Manikandan...
443