xref: /linux/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml (revision 270ad296e94a09c97c20f2e3be9e868cda640951)
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
1846ccf3e0SLuca 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
30e99b2d06SKonrad Dybcio              - qcom,sm6350-dsi-ctrl
3127a86922SKonrad Dybcio              - qcom,sm6375-dsi-ctrl
320c0f65c6SBryan O'Donoghue              - qcom,sm8150-dsi-ctrl
330c0f65c6SBryan O'Donoghue              - qcom,sm8250-dsi-ctrl
340c0f65c6SBryan O'Donoghue              - qcom,sm8350-dsi-ctrl
350c0f65c6SBryan O'Donoghue              - qcom,sm8450-dsi-ctrl
360c0f65c6SBryan O'Donoghue              - qcom,sm8550-dsi-ctrl
370c0f65c6SBryan O'Donoghue          - const: qcom,mdss-dsi-ctrl
380c0f65c6SBryan O'Donoghue      - enum:
3936b0d6c1SKonrad Dybcio          - qcom,dsi-ctrl-6g-qcm2290
4036b0d6c1SKonrad Dybcio          - qcom,mdss-dsi-ctrl # This should always come with an SoC-specific compatible
410c0f65c6SBryan O'Donoghue        deprecated: true
424dbe55c9SKrishna Manikandan
434dbe55c9SKrishna Manikandan  reg:
444dbe55c9SKrishna Manikandan    maxItems: 1
454dbe55c9SKrishna Manikandan
464dbe55c9SKrishna Manikandan  reg-names:
474dbe55c9SKrishna Manikandan    const: dsi_ctrl
484dbe55c9SKrishna Manikandan
494dbe55c9SKrishna Manikandan  interrupts:
504dbe55c9SKrishna Manikandan    maxItems: 1
514dbe55c9SKrishna Manikandan
524dbe55c9SKrishna Manikandan  clocks:
53d10bdc6eSBryan O'Donoghue    description: |
54d10bdc6eSBryan O'Donoghue      Several clocks are used, depending on the variant. Typical ones are::
55d10bdc6eSBryan O'Donoghue       - bus:: Display AHB clock.
56d10bdc6eSBryan O'Donoghue       - byte:: Display byte clock.
57d10bdc6eSBryan O'Donoghue       - byte_intf:: Display byte interface clock.
58d10bdc6eSBryan O'Donoghue       - core:: Display core clock.
59d10bdc6eSBryan O'Donoghue       - core_mss:: Core MultiMedia SubSystem clock.
60d10bdc6eSBryan O'Donoghue       - iface:: Display AXI clock.
61d10bdc6eSBryan O'Donoghue       - mdp_core:: MDP Core clock.
62d10bdc6eSBryan O'Donoghue       - mnoc:: MNOC clock
63d10bdc6eSBryan O'Donoghue       - pixel:: Display pixel clock.
64d10bdc6eSBryan O'Donoghue    minItems: 3
65d10bdc6eSBryan O'Donoghue    maxItems: 9
664dbe55c9SKrishna Manikandan
674dbe55c9SKrishna Manikandan  clock-names:
68d10bdc6eSBryan O'Donoghue    minItems: 3
69d10bdc6eSBryan O'Donoghue    maxItems: 9
704dbe55c9SKrishna Manikandan
714dbe55c9SKrishna Manikandan  phys:
724dbe55c9SKrishna Manikandan    maxItems: 1
734dbe55c9SKrishna Manikandan
744dbe55c9SKrishna Manikandan  phy-names:
75c5415562SBryan O'Donoghue    deprecated: true
764dbe55c9SKrishna Manikandan    const: dsi
774dbe55c9SKrishna Manikandan
784dbe55c9SKrishna Manikandan  syscon-sfpb:
794dbe55c9SKrishna Manikandan    description: A phandle to mmss_sfpb syscon node (only for DSIv2).
804334aec0SRob Herring    $ref: /schemas/types.yaml#/definitions/phandle
814dbe55c9SKrishna Manikandan
824dbe55c9SKrishna Manikandan  qcom,dual-dsi-mode:
834dbe55c9SKrishna Manikandan    type: boolean
844dbe55c9SKrishna Manikandan    description: |
854dbe55c9SKrishna Manikandan      Indicates if the DSI controller is driving a panel which needs
864dbe55c9SKrishna Manikandan      2 DSI links.
874dbe55c9SKrishna Manikandan
88ca29699aSJianhua Lu  qcom,master-dsi:
89ca29699aSJianhua Lu    type: boolean
90ca29699aSJianhua Lu    description: |
91ca29699aSJianhua Lu      Indicates if the DSI controller is the master DSI controller when
92ca29699aSJianhua Lu      qcom,dual-dsi-mode enabled.
93ca29699aSJianhua Lu
94ca29699aSJianhua Lu  qcom,sync-dual-dsi:
95ca29699aSJianhua Lu    type: boolean
96ca29699aSJianhua Lu    description: |
97ca29699aSJianhua Lu      Indicates if the DSI controller needs to sync the other DSI controller
98ca29699aSJianhua Lu      with MIPI DCS commands when qcom,dual-dsi-mode enabled.
99ca29699aSJianhua Lu
100061a9aeaSDmitry Baryshkov  assigned-clocks:
1012f8e5f8bSDmitry Baryshkov    minItems: 2
1022f8e5f8bSDmitry Baryshkov    maxItems: 4
103061a9aeaSDmitry Baryshkov    description: |
104061a9aeaSDmitry Baryshkov      Parents of "byte" and "pixel" for the given platform.
1052f8e5f8bSDmitry Baryshkov      For DSIv2 platforms this should contain "byte", "esc", "src" and
1062f8e5f8bSDmitry Baryshkov      "pixel_src" clocks.
107061a9aeaSDmitry Baryshkov
108061a9aeaSDmitry Baryshkov  assigned-clock-parents:
1092f8e5f8bSDmitry Baryshkov    minItems: 2
1102f8e5f8bSDmitry Baryshkov    maxItems: 4
111061a9aeaSDmitry Baryshkov    description: |
112061a9aeaSDmitry Baryshkov      The Byte clock and Pixel clock PLL outputs provided by a DSI PHY block.
113061a9aeaSDmitry Baryshkov
1144dbe55c9SKrishna Manikandan  power-domains:
1154dbe55c9SKrishna Manikandan    maxItems: 1
1164dbe55c9SKrishna Manikandan
1174dbe55c9SKrishna Manikandan  operating-points-v2: true
1184dbe55c9SKrishna Manikandan
119bac4ccceSDmitry Baryshkov  opp-table:
120bac4ccceSDmitry Baryshkov    type: object
121bac4ccceSDmitry Baryshkov
1224dbe55c9SKrishna Manikandan  ports:
1234334aec0SRob Herring    $ref: /schemas/graph.yaml#/properties/ports
1244dbe55c9SKrishna Manikandan    description: |
1254dbe55c9SKrishna Manikandan      Contains DSI controller input and output ports as children, each
1264dbe55c9SKrishna Manikandan      containing one endpoint subnode.
1274dbe55c9SKrishna Manikandan
1284dbe55c9SKrishna Manikandan    properties:
1294dbe55c9SKrishna Manikandan      port@0:
1304334aec0SRob Herring        $ref: /schemas/graph.yaml#/$defs/port-base
131b4db237eSRob Herring        unevaluatedProperties: false
1324dbe55c9SKrishna Manikandan        description: |
1334dbe55c9SKrishna Manikandan          Input endpoints of the controller.
1344dbe55c9SKrishna Manikandan        properties:
1354dbe55c9SKrishna Manikandan          endpoint:
1364dbe55c9SKrishna Manikandan            $ref: /schemas/media/video-interfaces.yaml#
1374dbe55c9SKrishna Manikandan            unevaluatedProperties: false
1384dbe55c9SKrishna Manikandan            properties:
1394dbe55c9SKrishna Manikandan              data-lanes:
1404dbe55c9SKrishna Manikandan                maxItems: 4
1412fd5293dSDmitry Baryshkov                minItems: 1
1424dbe55c9SKrishna Manikandan                items:
1434dbe55c9SKrishna Manikandan                  enum: [ 0, 1, 2, 3 ]
1444dbe55c9SKrishna Manikandan
1454dbe55c9SKrishna Manikandan      port@1:
1464334aec0SRob Herring        $ref: /schemas/graph.yaml#/$defs/port-base
147b4db237eSRob Herring        unevaluatedProperties: false
1484dbe55c9SKrishna Manikandan        description: |
1494dbe55c9SKrishna Manikandan          Output endpoints of the controller.
1504dbe55c9SKrishna Manikandan        properties:
1514dbe55c9SKrishna Manikandan          endpoint:
1524dbe55c9SKrishna Manikandan            $ref: /schemas/media/video-interfaces.yaml#
1534dbe55c9SKrishna Manikandan            unevaluatedProperties: false
1544dbe55c9SKrishna Manikandan            properties:
1554dbe55c9SKrishna Manikandan              data-lanes:
1564dbe55c9SKrishna Manikandan                maxItems: 4
1572fd5293dSDmitry Baryshkov                minItems: 1
1584dbe55c9SKrishna Manikandan                items:
1594dbe55c9SKrishna Manikandan                  enum: [ 0, 1, 2, 3 ]
1604dbe55c9SKrishna Manikandan
1614dbe55c9SKrishna Manikandan    required:
1624dbe55c9SKrishna Manikandan      - port@0
1634dbe55c9SKrishna Manikandan      - port@1
1644dbe55c9SKrishna Manikandan
16505c578d5SDmitry Baryshkov  avdd-supply:
16605c578d5SDmitry Baryshkov    description:
16705c578d5SDmitry Baryshkov      Phandle to vdd regulator device node
16805c578d5SDmitry Baryshkov
169*270ad296SKonrad Dybcio  refgen-supply:
170*270ad296SKonrad Dybcio    description:
171*270ad296SKonrad Dybcio      Phandle to REFGEN regulator device node
172*270ad296SKonrad Dybcio
17305c578d5SDmitry Baryshkov  vcca-supply:
17405c578d5SDmitry Baryshkov    description:
17505c578d5SDmitry Baryshkov      Phandle to vdd regulator device node
17605c578d5SDmitry Baryshkov
177adf6a3ebSBryan O'Donoghue  vdd-supply:
178adf6a3ebSBryan O'Donoghue    description:
179adf6a3ebSBryan O'Donoghue      VDD regulator
180adf6a3ebSBryan O'Donoghue
181adf6a3ebSBryan O'Donoghue  vddio-supply:
182adf6a3ebSBryan O'Donoghue    description:
183adf6a3ebSBryan O'Donoghue      VDD-IO regulator
184adf6a3ebSBryan O'Donoghue
185adf6a3ebSBryan O'Donoghue  vdda-supply:
186adf6a3ebSBryan O'Donoghue    description:
187adf6a3ebSBryan O'Donoghue      VDDA regulator
188adf6a3ebSBryan O'Donoghue
1894dbe55c9SKrishna Manikandanrequired:
1904dbe55c9SKrishna Manikandan  - compatible
1914dbe55c9SKrishna Manikandan  - reg
1924dbe55c9SKrishna Manikandan  - reg-names
1934dbe55c9SKrishna Manikandan  - interrupts
1944dbe55c9SKrishna Manikandan  - clocks
1954dbe55c9SKrishna Manikandan  - clock-names
1964dbe55c9SKrishna Manikandan  - phys
197061a9aeaSDmitry Baryshkov  - assigned-clocks
198061a9aeaSDmitry Baryshkov  - assigned-clock-parents
1994dbe55c9SKrishna Manikandan  - ports
2004dbe55c9SKrishna Manikandan
201d10bdc6eSBryan O'DonoghueallOf:
202d10bdc6eSBryan O'Donoghue  - $ref: ../dsi-controller.yaml#
203d10bdc6eSBryan O'Donoghue  - if:
204d10bdc6eSBryan O'Donoghue      properties:
205d10bdc6eSBryan O'Donoghue        compatible:
206d10bdc6eSBryan O'Donoghue          contains:
207d10bdc6eSBryan O'Donoghue            enum:
208d10bdc6eSBryan O'Donoghue              - qcom,apq8064-dsi-ctrl
209d10bdc6eSBryan O'Donoghue    then:
210d10bdc6eSBryan O'Donoghue      properties:
211d10bdc6eSBryan O'Donoghue        clocks:
212d10bdc6eSBryan O'Donoghue          maxItems: 7
213d10bdc6eSBryan O'Donoghue        clock-names:
214d10bdc6eSBryan O'Donoghue          items:
215d10bdc6eSBryan O'Donoghue            - const: iface
216d10bdc6eSBryan O'Donoghue            - const: bus
217d10bdc6eSBryan O'Donoghue            - const: core_mmss
218d10bdc6eSBryan O'Donoghue            - const: src
219d10bdc6eSBryan O'Donoghue            - const: byte
220d10bdc6eSBryan O'Donoghue            - const: pixel
221d10bdc6eSBryan O'Donoghue            - const: core
222d10bdc6eSBryan O'Donoghue
223d10bdc6eSBryan O'Donoghue  - if:
224d10bdc6eSBryan O'Donoghue      properties:
225d10bdc6eSBryan O'Donoghue        compatible:
226d10bdc6eSBryan O'Donoghue          contains:
227d10bdc6eSBryan O'Donoghue            enum:
228d10bdc6eSBryan O'Donoghue              - qcom,msm8916-dsi-ctrl
229d10bdc6eSBryan O'Donoghue    then:
230d10bdc6eSBryan O'Donoghue      properties:
231d10bdc6eSBryan O'Donoghue        clocks:
232d10bdc6eSBryan O'Donoghue          maxItems: 6
233d10bdc6eSBryan O'Donoghue        clock-names:
234d10bdc6eSBryan O'Donoghue          items:
235d10bdc6eSBryan O'Donoghue            - const: mdp_core
236d10bdc6eSBryan O'Donoghue            - const: iface
237d10bdc6eSBryan O'Donoghue            - const: bus
238d10bdc6eSBryan O'Donoghue            - const: byte
239d10bdc6eSBryan O'Donoghue            - const: pixel
240d10bdc6eSBryan O'Donoghue            - const: core
241d10bdc6eSBryan O'Donoghue
242d10bdc6eSBryan O'Donoghue  - if:
243d10bdc6eSBryan O'Donoghue      properties:
244d10bdc6eSBryan O'Donoghue        compatible:
245d10bdc6eSBryan O'Donoghue          contains:
246d10bdc6eSBryan O'Donoghue            enum:
247d10bdc6eSBryan O'Donoghue              - qcom,msm8953-dsi-ctrl
248d10bdc6eSBryan O'Donoghue    then:
249d10bdc6eSBryan O'Donoghue      properties:
250d10bdc6eSBryan O'Donoghue        clocks:
251d10bdc6eSBryan O'Donoghue          maxItems: 6
252d10bdc6eSBryan O'Donoghue        clock-names:
253d10bdc6eSBryan O'Donoghue          items:
254d10bdc6eSBryan O'Donoghue            - const: mdp_core
255d10bdc6eSBryan O'Donoghue            - const: iface
256d10bdc6eSBryan O'Donoghue            - const: bus
257d10bdc6eSBryan O'Donoghue            - const: byte
258d10bdc6eSBryan O'Donoghue            - const: pixel
259d10bdc6eSBryan O'Donoghue            - const: core
260d10bdc6eSBryan O'Donoghue
261d10bdc6eSBryan O'Donoghue  - if:
262d10bdc6eSBryan O'Donoghue      properties:
263d10bdc6eSBryan O'Donoghue        compatible:
264d10bdc6eSBryan O'Donoghue          contains:
265d10bdc6eSBryan O'Donoghue            enum:
26646ccf3e0SLuca Weiss              - qcom,msm8226-dsi-ctrl
267d10bdc6eSBryan O'Donoghue              - qcom,msm8974-dsi-ctrl
268d10bdc6eSBryan O'Donoghue    then:
269d10bdc6eSBryan O'Donoghue      properties:
270d10bdc6eSBryan O'Donoghue        clocks:
271d10bdc6eSBryan O'Donoghue          maxItems: 7
272d10bdc6eSBryan O'Donoghue        clock-names:
273d10bdc6eSBryan O'Donoghue          items:
274d10bdc6eSBryan O'Donoghue            - const: mdp_core
275d10bdc6eSBryan O'Donoghue            - const: iface
276d10bdc6eSBryan O'Donoghue            - const: bus
277d10bdc6eSBryan O'Donoghue            - const: byte
278d10bdc6eSBryan O'Donoghue            - const: pixel
279d10bdc6eSBryan O'Donoghue            - const: core
280d10bdc6eSBryan O'Donoghue            - const: core_mmss
281d10bdc6eSBryan O'Donoghue
282d10bdc6eSBryan O'Donoghue  - if:
283d10bdc6eSBryan O'Donoghue      properties:
284d10bdc6eSBryan O'Donoghue        compatible:
285d10bdc6eSBryan O'Donoghue          contains:
286d10bdc6eSBryan O'Donoghue            enum:
287d10bdc6eSBryan O'Donoghue              - qcom,msm8996-dsi-ctrl
288d10bdc6eSBryan O'Donoghue    then:
289d10bdc6eSBryan O'Donoghue      properties:
290d10bdc6eSBryan O'Donoghue        clocks:
291d10bdc6eSBryan O'Donoghue          maxItems: 7
292d10bdc6eSBryan O'Donoghue        clock-names:
293d10bdc6eSBryan O'Donoghue          items:
294d10bdc6eSBryan O'Donoghue            - const: mdp_core
295d10bdc6eSBryan O'Donoghue            - const: byte
296d10bdc6eSBryan O'Donoghue            - const: iface
297d10bdc6eSBryan O'Donoghue            - const: bus
298d10bdc6eSBryan O'Donoghue            - const: core_mmss
299d10bdc6eSBryan O'Donoghue            - const: pixel
300d10bdc6eSBryan O'Donoghue            - const: core
301d10bdc6eSBryan O'Donoghue
302d10bdc6eSBryan O'Donoghue  - if:
303d10bdc6eSBryan O'Donoghue      properties:
304d10bdc6eSBryan O'Donoghue        compatible:
305d10bdc6eSBryan O'Donoghue          contains:
306d10bdc6eSBryan O'Donoghue            enum:
307d10bdc6eSBryan O'Donoghue              - qcom,msm8998-dsi-ctrl
308e99b2d06SKonrad Dybcio              - qcom,sm6350-dsi-ctrl
309d10bdc6eSBryan O'Donoghue    then:
310d10bdc6eSBryan O'Donoghue      properties:
311d10bdc6eSBryan O'Donoghue        clocks:
312d10bdc6eSBryan O'Donoghue          maxItems: 6
313d10bdc6eSBryan O'Donoghue        clock-names:
314d10bdc6eSBryan O'Donoghue          items:
315d10bdc6eSBryan O'Donoghue            - const: byte
316d10bdc6eSBryan O'Donoghue            - const: byte_intf
317d10bdc6eSBryan O'Donoghue            - const: pixel
318d10bdc6eSBryan O'Donoghue            - const: core
319d10bdc6eSBryan O'Donoghue            - const: iface
320d10bdc6eSBryan O'Donoghue            - const: bus
321d10bdc6eSBryan O'Donoghue
322d10bdc6eSBryan O'Donoghue  - if:
323d10bdc6eSBryan O'Donoghue      properties:
324d10bdc6eSBryan O'Donoghue        compatible:
325d10bdc6eSBryan O'Donoghue          contains:
326d10bdc6eSBryan O'Donoghue            enum:
327d10bdc6eSBryan O'Donoghue              - qcom,sc7180-dsi-ctrl
328d10bdc6eSBryan O'Donoghue              - qcom,sc7280-dsi-ctrl
329d10bdc6eSBryan O'Donoghue              - qcom,sm8150-dsi-ctrl
330d10bdc6eSBryan O'Donoghue              - qcom,sm8250-dsi-ctrl
331d10bdc6eSBryan O'Donoghue              - qcom,sm8350-dsi-ctrl
332d10bdc6eSBryan O'Donoghue              - qcom,sm8450-dsi-ctrl
333d10bdc6eSBryan O'Donoghue              - qcom,sm8550-dsi-ctrl
334d10bdc6eSBryan O'Donoghue    then:
335d10bdc6eSBryan O'Donoghue      properties:
336d10bdc6eSBryan O'Donoghue        clocks:
337d10bdc6eSBryan O'Donoghue          maxItems: 6
338d10bdc6eSBryan O'Donoghue        clock-names:
339d10bdc6eSBryan O'Donoghue          items:
340d10bdc6eSBryan O'Donoghue            - const: byte
341d10bdc6eSBryan O'Donoghue            - const: byte_intf
342d10bdc6eSBryan O'Donoghue            - const: pixel
343d10bdc6eSBryan O'Donoghue            - const: core
344d10bdc6eSBryan O'Donoghue            - const: iface
345d10bdc6eSBryan O'Donoghue            - const: bus
346d10bdc6eSBryan O'Donoghue
347d10bdc6eSBryan O'Donoghue  - if:
348d10bdc6eSBryan O'Donoghue      properties:
349d10bdc6eSBryan O'Donoghue        compatible:
350d10bdc6eSBryan O'Donoghue          contains:
351d10bdc6eSBryan O'Donoghue            enum:
352d10bdc6eSBryan O'Donoghue              - qcom,sdm660-dsi-ctrl
353d10bdc6eSBryan O'Donoghue    then:
354d10bdc6eSBryan O'Donoghue      properties:
355d10bdc6eSBryan O'Donoghue        clocks:
356d10bdc6eSBryan O'Donoghue          maxItems: 9
357d10bdc6eSBryan O'Donoghue        clock-names:
358d10bdc6eSBryan O'Donoghue          items:
359d10bdc6eSBryan O'Donoghue            - const: mdp_core
360d10bdc6eSBryan O'Donoghue            - const: byte
361d10bdc6eSBryan O'Donoghue            - const: byte_intf
362d10bdc6eSBryan O'Donoghue            - const: mnoc
363d10bdc6eSBryan O'Donoghue            - const: iface
364d10bdc6eSBryan O'Donoghue            - const: bus
365d10bdc6eSBryan O'Donoghue            - const: core_mmss
366d10bdc6eSBryan O'Donoghue            - const: pixel
367d10bdc6eSBryan O'Donoghue            - const: core
368d10bdc6eSBryan O'Donoghue
369d10bdc6eSBryan O'Donoghue  - if:
370d10bdc6eSBryan O'Donoghue      properties:
371d10bdc6eSBryan O'Donoghue        compatible:
372d10bdc6eSBryan O'Donoghue          contains:
373d10bdc6eSBryan O'Donoghue            enum:
374d10bdc6eSBryan O'Donoghue              - qcom,sdm845-dsi-ctrl
3757360fc8bSKonrad Dybcio              - qcom,sm6115-dsi-ctrl
37627a86922SKonrad Dybcio              - qcom,sm6375-dsi-ctrl
377d10bdc6eSBryan O'Donoghue    then:
378d10bdc6eSBryan O'Donoghue      properties:
379d10bdc6eSBryan O'Donoghue        clocks:
380d10bdc6eSBryan O'Donoghue          maxItems: 6
381d10bdc6eSBryan O'Donoghue        clock-names:
382d10bdc6eSBryan O'Donoghue          items:
383d10bdc6eSBryan O'Donoghue            - const: byte
384d10bdc6eSBryan O'Donoghue            - const: byte_intf
385d10bdc6eSBryan O'Donoghue            - const: pixel
386d10bdc6eSBryan O'Donoghue            - const: core
387d10bdc6eSBryan O'Donoghue            - const: iface
388d10bdc6eSBryan O'Donoghue            - const: bus
389d10bdc6eSBryan O'Donoghue
39065e83594SDmitry BaryshkovunevaluatedProperties: false
3914dbe55c9SKrishna Manikandan
3924dbe55c9SKrishna Manikandanexamples:
3934dbe55c9SKrishna Manikandan  - |
3944dbe55c9SKrishna Manikandan     #include <dt-bindings/interrupt-controller/arm-gic.h>
3954dbe55c9SKrishna Manikandan     #include <dt-bindings/clock/qcom,dispcc-sdm845.h>
3964dbe55c9SKrishna Manikandan     #include <dt-bindings/clock/qcom,gcc-sdm845.h>
3974dbe55c9SKrishna Manikandan     #include <dt-bindings/power/qcom-rpmpd.h>
3984dbe55c9SKrishna Manikandan
3994dbe55c9SKrishna Manikandan     dsi@ae94000 {
4000c0f65c6SBryan O'Donoghue           compatible = "qcom,sc7180-dsi-ctrl", "qcom,mdss-dsi-ctrl";
4014dbe55c9SKrishna Manikandan           reg = <0x0ae94000 0x400>;
4024dbe55c9SKrishna Manikandan           reg-names = "dsi_ctrl";
4034dbe55c9SKrishna Manikandan
4044dbe55c9SKrishna Manikandan           #address-cells = <1>;
4054dbe55c9SKrishna Manikandan           #size-cells = <0>;
4064dbe55c9SKrishna Manikandan
4074dbe55c9SKrishna Manikandan           interrupt-parent = <&mdss>;
4084dbe55c9SKrishna Manikandan           interrupts = <4>;
4094dbe55c9SKrishna Manikandan
4104dbe55c9SKrishna Manikandan           clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
4114dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
4124dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
4134dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_ESC0_CLK>,
4144dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_AHB_CLK>,
4154dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_AXI_CLK>;
4164dbe55c9SKrishna Manikandan           clock-names = "byte",
4174dbe55c9SKrishna Manikandan                         "byte_intf",
4184dbe55c9SKrishna Manikandan                         "pixel",
4194dbe55c9SKrishna Manikandan                         "core",
4204dbe55c9SKrishna Manikandan                         "iface",
4214dbe55c9SKrishna Manikandan                         "bus";
4224dbe55c9SKrishna Manikandan
4234dbe55c9SKrishna Manikandan           phys = <&dsi0_phy>;
4244dbe55c9SKrishna Manikandan           phy-names = "dsi";
4254dbe55c9SKrishna Manikandan
426061a9aeaSDmitry Baryshkov           assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
427061a9aeaSDmitry Baryshkov           assigned-clock-parents = <&dsi_phy 0>, <&dsi_phy 1>;
428061a9aeaSDmitry Baryshkov
4294dbe55c9SKrishna Manikandan           power-domains = <&rpmhpd SC7180_CX>;
4304dbe55c9SKrishna Manikandan           operating-points-v2 = <&dsi_opp_table>;
4314dbe55c9SKrishna Manikandan
4324dbe55c9SKrishna Manikandan           ports {
4334dbe55c9SKrishna Manikandan                  #address-cells = <1>;
4344dbe55c9SKrishna Manikandan                  #size-cells = <0>;
4354dbe55c9SKrishna Manikandan
4364dbe55c9SKrishna Manikandan                  port@0 {
4374dbe55c9SKrishna Manikandan                          reg = <0>;
4384dbe55c9SKrishna Manikandan                          dsi0_in: endpoint {
4394dbe55c9SKrishna Manikandan                                   remote-endpoint = <&dpu_intf1_out>;
4404dbe55c9SKrishna Manikandan                          };
4414dbe55c9SKrishna Manikandan                  };
4424dbe55c9SKrishna Manikandan
4434dbe55c9SKrishna Manikandan                  port@1 {
4444dbe55c9SKrishna Manikandan                          reg = <1>;
4454dbe55c9SKrishna Manikandan                          dsi0_out: endpoint {
4464dbe55c9SKrishna Manikandan                                   remote-endpoint = <&sn65dsi86_in>;
4474dbe55c9SKrishna Manikandan                                   data-lanes = <0 1 2 3>;
4484dbe55c9SKrishna Manikandan                          };
4494dbe55c9SKrishna Manikandan                  };
4504dbe55c9SKrishna Manikandan           };
4514dbe55c9SKrishna Manikandan     };
4524dbe55c9SKrishna Manikandan...
453