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