xref: /linux/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml (revision db36595c688963bf1479ebc15f1b31d08339a9b3)
1440b075bSKrzysztof Kozlowski# 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
22*db36595cSAdam Skladowski              - qcom,msm8976-dsi-ctrl
230c0f65c6SBryan O'Donoghue              - qcom,msm8996-dsi-ctrl
240c0f65c6SBryan O'Donoghue              - qcom,msm8998-dsi-ctrl
250c0f65c6SBryan O'Donoghue              - qcom,qcm2290-dsi-ctrl
260c0f65c6SBryan O'Donoghue              - qcom,sc7180-dsi-ctrl
270c0f65c6SBryan O'Donoghue              - qcom,sc7280-dsi-ctrl
280c0f65c6SBryan O'Donoghue              - qcom,sdm660-dsi-ctrl
29bf5a8069SRichard Acayan              - qcom,sdm670-dsi-ctrl
300c0f65c6SBryan O'Donoghue              - qcom,sdm845-dsi-ctrl
317360fc8bSKonrad Dybcio              - qcom,sm6115-dsi-ctrl
32bb49fa70SMarijn Suijten              - qcom,sm6125-dsi-ctrl
33e99b2d06SKonrad Dybcio              - qcom,sm6350-dsi-ctrl
3427a86922SKonrad Dybcio              - qcom,sm6375-dsi-ctrl
350c0f65c6SBryan O'Donoghue              - qcom,sm8150-dsi-ctrl
360c0f65c6SBryan O'Donoghue              - qcom,sm8250-dsi-ctrl
370c0f65c6SBryan O'Donoghue              - qcom,sm8350-dsi-ctrl
380c0f65c6SBryan O'Donoghue              - qcom,sm8450-dsi-ctrl
390c0f65c6SBryan O'Donoghue              - qcom,sm8550-dsi-ctrl
408adc26fcSNeil Armstrong              - qcom,sm8650-dsi-ctrl
410c0f65c6SBryan O'Donoghue          - const: qcom,mdss-dsi-ctrl
420c0f65c6SBryan O'Donoghue      - enum:
4336b0d6c1SKonrad Dybcio          - qcom,dsi-ctrl-6g-qcm2290
4436b0d6c1SKonrad Dybcio          - qcom,mdss-dsi-ctrl # This should always come with an SoC-specific compatible
450c0f65c6SBryan O'Donoghue        deprecated: true
464dbe55c9SKrishna Manikandan
474dbe55c9SKrishna Manikandan  reg:
484dbe55c9SKrishna Manikandan    maxItems: 1
494dbe55c9SKrishna Manikandan
504dbe55c9SKrishna Manikandan  reg-names:
514dbe55c9SKrishna Manikandan    const: dsi_ctrl
524dbe55c9SKrishna Manikandan
534dbe55c9SKrishna Manikandan  interrupts:
544dbe55c9SKrishna Manikandan    maxItems: 1
554dbe55c9SKrishna Manikandan
564dbe55c9SKrishna Manikandan  clocks:
57d10bdc6eSBryan O'Donoghue    description: |
58d10bdc6eSBryan O'Donoghue      Several clocks are used, depending on the variant. Typical ones are::
59d10bdc6eSBryan O'Donoghue       - bus:: Display AHB clock.
60d10bdc6eSBryan O'Donoghue       - byte:: Display byte clock.
61d10bdc6eSBryan O'Donoghue       - byte_intf:: Display byte interface clock.
62d10bdc6eSBryan O'Donoghue       - core:: Display core clock.
63d10bdc6eSBryan O'Donoghue       - core_mss:: Core MultiMedia SubSystem clock.
64d10bdc6eSBryan O'Donoghue       - iface:: Display AXI clock.
65d10bdc6eSBryan O'Donoghue       - mdp_core:: MDP Core clock.
66d10bdc6eSBryan O'Donoghue       - mnoc:: MNOC clock
67d10bdc6eSBryan O'Donoghue       - pixel:: Display pixel clock.
68d10bdc6eSBryan O'Donoghue    minItems: 3
69d10bdc6eSBryan O'Donoghue    maxItems: 9
704dbe55c9SKrishna Manikandan
714dbe55c9SKrishna Manikandan  clock-names:
72d10bdc6eSBryan O'Donoghue    minItems: 3
73d10bdc6eSBryan O'Donoghue    maxItems: 9
744dbe55c9SKrishna Manikandan
754dbe55c9SKrishna Manikandan  phys:
764dbe55c9SKrishna Manikandan    maxItems: 1
774dbe55c9SKrishna Manikandan
784dbe55c9SKrishna Manikandan  phy-names:
79c5415562SBryan O'Donoghue    deprecated: true
804dbe55c9SKrishna Manikandan    const: dsi
814dbe55c9SKrishna Manikandan
824dbe55c9SKrishna Manikandan  syscon-sfpb:
834dbe55c9SKrishna Manikandan    description: A phandle to mmss_sfpb syscon node (only for DSIv2).
844334aec0SRob Herring    $ref: /schemas/types.yaml#/definitions/phandle
854dbe55c9SKrishna Manikandan
864dbe55c9SKrishna Manikandan  qcom,dual-dsi-mode:
874dbe55c9SKrishna Manikandan    type: boolean
884dbe55c9SKrishna Manikandan    description: |
894dbe55c9SKrishna Manikandan      Indicates if the DSI controller is driving a panel which needs
904dbe55c9SKrishna Manikandan      2 DSI links.
914dbe55c9SKrishna Manikandan
92ca29699aSJianhua Lu  qcom,master-dsi:
93ca29699aSJianhua Lu    type: boolean
94ca29699aSJianhua Lu    description: |
95ca29699aSJianhua Lu      Indicates if the DSI controller is the master DSI controller when
96ca29699aSJianhua Lu      qcom,dual-dsi-mode enabled.
97ca29699aSJianhua Lu
98ca29699aSJianhua Lu  qcom,sync-dual-dsi:
99ca29699aSJianhua Lu    type: boolean
100ca29699aSJianhua Lu    description: |
101ca29699aSJianhua Lu      Indicates if the DSI controller needs to sync the other DSI controller
102ca29699aSJianhua Lu      with MIPI DCS commands when qcom,dual-dsi-mode enabled.
103ca29699aSJianhua Lu
104061a9aeaSDmitry Baryshkov  assigned-clocks:
1052f8e5f8bSDmitry Baryshkov    minItems: 2
1062f8e5f8bSDmitry Baryshkov    maxItems: 4
107061a9aeaSDmitry Baryshkov    description: |
108061a9aeaSDmitry Baryshkov      Parents of "byte" and "pixel" for the given platform.
1092f8e5f8bSDmitry Baryshkov      For DSIv2 platforms this should contain "byte", "esc", "src" and
1102f8e5f8bSDmitry Baryshkov      "pixel_src" clocks.
111061a9aeaSDmitry Baryshkov
112061a9aeaSDmitry Baryshkov  assigned-clock-parents:
1132f8e5f8bSDmitry Baryshkov    minItems: 2
1142f8e5f8bSDmitry Baryshkov    maxItems: 4
115061a9aeaSDmitry Baryshkov    description: |
116061a9aeaSDmitry Baryshkov      The Byte clock and Pixel clock PLL outputs provided by a DSI PHY block.
117061a9aeaSDmitry Baryshkov
1184dbe55c9SKrishna Manikandan  power-domains:
1194dbe55c9SKrishna Manikandan    maxItems: 1
1204dbe55c9SKrishna Manikandan
1214dbe55c9SKrishna Manikandan  operating-points-v2: true
1224dbe55c9SKrishna Manikandan
123bac4ccceSDmitry Baryshkov  opp-table:
124bac4ccceSDmitry Baryshkov    type: object
125bac4ccceSDmitry Baryshkov
1264dbe55c9SKrishna Manikandan  ports:
1274334aec0SRob Herring    $ref: /schemas/graph.yaml#/properties/ports
1284dbe55c9SKrishna Manikandan    description: |
1294dbe55c9SKrishna Manikandan      Contains DSI controller input and output ports as children, each
1304dbe55c9SKrishna Manikandan      containing one endpoint subnode.
1314dbe55c9SKrishna Manikandan
1324dbe55c9SKrishna Manikandan    properties:
1334dbe55c9SKrishna Manikandan      port@0:
1344334aec0SRob Herring        $ref: /schemas/graph.yaml#/$defs/port-base
135b4db237eSRob Herring        unevaluatedProperties: false
1364dbe55c9SKrishna Manikandan        description: |
1374dbe55c9SKrishna Manikandan          Input endpoints of the controller.
1384dbe55c9SKrishna Manikandan        properties:
1394dbe55c9SKrishna Manikandan          endpoint:
1404dbe55c9SKrishna Manikandan            $ref: /schemas/media/video-interfaces.yaml#
1414dbe55c9SKrishna Manikandan            unevaluatedProperties: false
1424dbe55c9SKrishna Manikandan            properties:
1434dbe55c9SKrishna Manikandan              data-lanes:
1444dbe55c9SKrishna Manikandan                maxItems: 4
1452fd5293dSDmitry Baryshkov                minItems: 1
1464dbe55c9SKrishna Manikandan                items:
1474dbe55c9SKrishna Manikandan                  enum: [ 0, 1, 2, 3 ]
1484dbe55c9SKrishna Manikandan
1494dbe55c9SKrishna Manikandan      port@1:
1504334aec0SRob Herring        $ref: /schemas/graph.yaml#/$defs/port-base
151b4db237eSRob Herring        unevaluatedProperties: false
1524dbe55c9SKrishna Manikandan        description: |
1534dbe55c9SKrishna Manikandan          Output endpoints of the controller.
1544dbe55c9SKrishna Manikandan        properties:
1554dbe55c9SKrishna Manikandan          endpoint:
1564dbe55c9SKrishna Manikandan            $ref: /schemas/media/video-interfaces.yaml#
1574dbe55c9SKrishna Manikandan            unevaluatedProperties: false
1584dbe55c9SKrishna Manikandan            properties:
1594dbe55c9SKrishna Manikandan              data-lanes:
1604dbe55c9SKrishna Manikandan                maxItems: 4
1612fd5293dSDmitry Baryshkov                minItems: 1
1624dbe55c9SKrishna Manikandan                items:
1634dbe55c9SKrishna Manikandan                  enum: [ 0, 1, 2, 3 ]
1644dbe55c9SKrishna Manikandan
1654dbe55c9SKrishna Manikandan    required:
1664dbe55c9SKrishna Manikandan      - port@0
1674dbe55c9SKrishna Manikandan      - port@1
1684dbe55c9SKrishna Manikandan
16905c578d5SDmitry Baryshkov  avdd-supply:
17005c578d5SDmitry Baryshkov    description:
17105c578d5SDmitry Baryshkov      Phandle to vdd regulator device node
17205c578d5SDmitry Baryshkov
173270ad296SKonrad Dybcio  refgen-supply:
174270ad296SKonrad Dybcio    description:
175270ad296SKonrad Dybcio      Phandle to REFGEN regulator device node
176270ad296SKonrad Dybcio
17705c578d5SDmitry Baryshkov  vcca-supply:
17805c578d5SDmitry Baryshkov    description:
17905c578d5SDmitry Baryshkov      Phandle to vdd regulator device node
18005c578d5SDmitry Baryshkov
181adf6a3ebSBryan O'Donoghue  vdd-supply:
182adf6a3ebSBryan O'Donoghue    description:
183adf6a3ebSBryan O'Donoghue      VDD regulator
184adf6a3ebSBryan O'Donoghue
185adf6a3ebSBryan O'Donoghue  vddio-supply:
186adf6a3ebSBryan O'Donoghue    description:
187adf6a3ebSBryan O'Donoghue      VDD-IO regulator
188adf6a3ebSBryan O'Donoghue
189adf6a3ebSBryan O'Donoghue  vdda-supply:
190adf6a3ebSBryan O'Donoghue    description:
191adf6a3ebSBryan O'Donoghue      VDDA regulator
192adf6a3ebSBryan O'Donoghue
1934dbe55c9SKrishna Manikandanrequired:
1944dbe55c9SKrishna Manikandan  - compatible
1954dbe55c9SKrishna Manikandan  - reg
1964dbe55c9SKrishna Manikandan  - reg-names
1974dbe55c9SKrishna Manikandan  - interrupts
1984dbe55c9SKrishna Manikandan  - clocks
1994dbe55c9SKrishna Manikandan  - clock-names
2004dbe55c9SKrishna Manikandan  - phys
201061a9aeaSDmitry Baryshkov  - assigned-clocks
202061a9aeaSDmitry Baryshkov  - assigned-clock-parents
2034dbe55c9SKrishna Manikandan  - ports
2044dbe55c9SKrishna Manikandan
205d10bdc6eSBryan O'DonoghueallOf:
206d10bdc6eSBryan O'Donoghue  - $ref: ../dsi-controller.yaml#
207d10bdc6eSBryan O'Donoghue  - if:
208d10bdc6eSBryan O'Donoghue      properties:
209d10bdc6eSBryan O'Donoghue        compatible:
210d10bdc6eSBryan O'Donoghue          contains:
211d10bdc6eSBryan O'Donoghue            enum:
212d10bdc6eSBryan O'Donoghue              - qcom,apq8064-dsi-ctrl
213d10bdc6eSBryan O'Donoghue    then:
214d10bdc6eSBryan O'Donoghue      properties:
215d10bdc6eSBryan O'Donoghue        clocks:
216d10bdc6eSBryan O'Donoghue          maxItems: 7
217d10bdc6eSBryan O'Donoghue        clock-names:
218d10bdc6eSBryan O'Donoghue          items:
219d10bdc6eSBryan O'Donoghue            - const: iface
220d10bdc6eSBryan O'Donoghue            - const: bus
221d10bdc6eSBryan O'Donoghue            - const: core_mmss
222d10bdc6eSBryan O'Donoghue            - const: src
223d10bdc6eSBryan O'Donoghue            - const: byte
224d10bdc6eSBryan O'Donoghue            - const: pixel
225d10bdc6eSBryan O'Donoghue            - const: core
226d10bdc6eSBryan O'Donoghue
227d10bdc6eSBryan O'Donoghue  - if:
228d10bdc6eSBryan O'Donoghue      properties:
229d10bdc6eSBryan O'Donoghue        compatible:
230d10bdc6eSBryan O'Donoghue          contains:
231d10bdc6eSBryan O'Donoghue            enum:
232d10bdc6eSBryan O'Donoghue              - qcom,msm8916-dsi-ctrl
233d10bdc6eSBryan O'Donoghue    then:
234d10bdc6eSBryan O'Donoghue      properties:
235d10bdc6eSBryan O'Donoghue        clocks:
236d10bdc6eSBryan O'Donoghue          maxItems: 6
237d10bdc6eSBryan O'Donoghue        clock-names:
238d10bdc6eSBryan O'Donoghue          items:
239d10bdc6eSBryan O'Donoghue            - const: mdp_core
240d10bdc6eSBryan O'Donoghue            - const: iface
241d10bdc6eSBryan O'Donoghue            - const: bus
242d10bdc6eSBryan O'Donoghue            - const: byte
243d10bdc6eSBryan O'Donoghue            - const: pixel
244d10bdc6eSBryan O'Donoghue            - const: core
245d10bdc6eSBryan O'Donoghue
246d10bdc6eSBryan O'Donoghue  - if:
247d10bdc6eSBryan O'Donoghue      properties:
248d10bdc6eSBryan O'Donoghue        compatible:
249d10bdc6eSBryan O'Donoghue          contains:
250d10bdc6eSBryan O'Donoghue            enum:
251d10bdc6eSBryan O'Donoghue              - qcom,msm8953-dsi-ctrl
252*db36595cSAdam Skladowski              - qcom,msm8976-dsi-ctrl
253d10bdc6eSBryan O'Donoghue    then:
254d10bdc6eSBryan O'Donoghue      properties:
255d10bdc6eSBryan O'Donoghue        clocks:
256d10bdc6eSBryan O'Donoghue          maxItems: 6
257d10bdc6eSBryan O'Donoghue        clock-names:
258d10bdc6eSBryan O'Donoghue          items:
259d10bdc6eSBryan O'Donoghue            - const: mdp_core
260d10bdc6eSBryan O'Donoghue            - const: iface
261d10bdc6eSBryan O'Donoghue            - const: bus
262d10bdc6eSBryan O'Donoghue            - const: byte
263d10bdc6eSBryan O'Donoghue            - const: pixel
264d10bdc6eSBryan O'Donoghue            - const: core
265d10bdc6eSBryan O'Donoghue
266d10bdc6eSBryan O'Donoghue  - if:
267d10bdc6eSBryan O'Donoghue      properties:
268d10bdc6eSBryan O'Donoghue        compatible:
269d10bdc6eSBryan O'Donoghue          contains:
270d10bdc6eSBryan O'Donoghue            enum:
27146ccf3e0SLuca Weiss              - qcom,msm8226-dsi-ctrl
272d10bdc6eSBryan O'Donoghue              - qcom,msm8974-dsi-ctrl
273d10bdc6eSBryan O'Donoghue    then:
274d10bdc6eSBryan O'Donoghue      properties:
275d10bdc6eSBryan O'Donoghue        clocks:
276d10bdc6eSBryan O'Donoghue          maxItems: 7
277d10bdc6eSBryan O'Donoghue        clock-names:
278d10bdc6eSBryan O'Donoghue          items:
279d10bdc6eSBryan O'Donoghue            - const: mdp_core
280d10bdc6eSBryan O'Donoghue            - const: iface
281d10bdc6eSBryan O'Donoghue            - const: bus
282d10bdc6eSBryan O'Donoghue            - const: byte
283d10bdc6eSBryan O'Donoghue            - const: pixel
284d10bdc6eSBryan O'Donoghue            - const: core
285d10bdc6eSBryan O'Donoghue            - const: core_mmss
286d10bdc6eSBryan O'Donoghue
287d10bdc6eSBryan O'Donoghue  - if:
288d10bdc6eSBryan O'Donoghue      properties:
289d10bdc6eSBryan O'Donoghue        compatible:
290d10bdc6eSBryan O'Donoghue          contains:
291d10bdc6eSBryan O'Donoghue            enum:
292d10bdc6eSBryan O'Donoghue              - qcom,msm8996-dsi-ctrl
293d10bdc6eSBryan O'Donoghue    then:
294d10bdc6eSBryan O'Donoghue      properties:
295d10bdc6eSBryan O'Donoghue        clocks:
296d10bdc6eSBryan O'Donoghue          maxItems: 7
297d10bdc6eSBryan O'Donoghue        clock-names:
298d10bdc6eSBryan O'Donoghue          items:
299d10bdc6eSBryan O'Donoghue            - const: mdp_core
300d10bdc6eSBryan O'Donoghue            - const: byte
301d10bdc6eSBryan O'Donoghue            - const: iface
302d10bdc6eSBryan O'Donoghue            - const: bus
303d10bdc6eSBryan O'Donoghue            - const: core_mmss
304d10bdc6eSBryan O'Donoghue            - const: pixel
305d10bdc6eSBryan O'Donoghue            - const: core
306d10bdc6eSBryan O'Donoghue
307d10bdc6eSBryan O'Donoghue  - if:
308d10bdc6eSBryan O'Donoghue      properties:
309d10bdc6eSBryan O'Donoghue        compatible:
310d10bdc6eSBryan O'Donoghue          contains:
311d10bdc6eSBryan O'Donoghue            enum:
312d10bdc6eSBryan O'Donoghue              - qcom,msm8998-dsi-ctrl
313bb49fa70SMarijn Suijten              - qcom,sm6125-dsi-ctrl
314e99b2d06SKonrad Dybcio              - qcom,sm6350-dsi-ctrl
315d10bdc6eSBryan O'Donoghue    then:
316d10bdc6eSBryan O'Donoghue      properties:
317d10bdc6eSBryan O'Donoghue        clocks:
318d10bdc6eSBryan O'Donoghue          maxItems: 6
319d10bdc6eSBryan O'Donoghue        clock-names:
320d10bdc6eSBryan O'Donoghue          items:
321d10bdc6eSBryan O'Donoghue            - const: byte
322d10bdc6eSBryan O'Donoghue            - const: byte_intf
323d10bdc6eSBryan O'Donoghue            - const: pixel
324d10bdc6eSBryan O'Donoghue            - const: core
325d10bdc6eSBryan O'Donoghue            - const: iface
326d10bdc6eSBryan O'Donoghue            - const: bus
327d10bdc6eSBryan O'Donoghue
328d10bdc6eSBryan O'Donoghue  - if:
329d10bdc6eSBryan O'Donoghue      properties:
330d10bdc6eSBryan O'Donoghue        compatible:
331d10bdc6eSBryan O'Donoghue          contains:
332d10bdc6eSBryan O'Donoghue            enum:
333d10bdc6eSBryan O'Donoghue              - qcom,sc7180-dsi-ctrl
334d10bdc6eSBryan O'Donoghue              - qcom,sc7280-dsi-ctrl
335d10bdc6eSBryan O'Donoghue              - qcom,sm8150-dsi-ctrl
336d10bdc6eSBryan O'Donoghue              - qcom,sm8250-dsi-ctrl
337d10bdc6eSBryan O'Donoghue              - qcom,sm8350-dsi-ctrl
338d10bdc6eSBryan O'Donoghue              - qcom,sm8450-dsi-ctrl
339d10bdc6eSBryan O'Donoghue              - qcom,sm8550-dsi-ctrl
3408adc26fcSNeil Armstrong              - qcom,sm8650-dsi-ctrl
341d10bdc6eSBryan O'Donoghue    then:
342d10bdc6eSBryan O'Donoghue      properties:
343d10bdc6eSBryan O'Donoghue        clocks:
344d10bdc6eSBryan O'Donoghue          maxItems: 6
345d10bdc6eSBryan O'Donoghue        clock-names:
346d10bdc6eSBryan O'Donoghue          items:
347d10bdc6eSBryan O'Donoghue            - const: byte
348d10bdc6eSBryan O'Donoghue            - const: byte_intf
349d10bdc6eSBryan O'Donoghue            - const: pixel
350d10bdc6eSBryan O'Donoghue            - const: core
351d10bdc6eSBryan O'Donoghue            - const: iface
352d10bdc6eSBryan O'Donoghue            - const: bus
353d10bdc6eSBryan O'Donoghue
354d10bdc6eSBryan O'Donoghue  - if:
355d10bdc6eSBryan O'Donoghue      properties:
356d10bdc6eSBryan O'Donoghue        compatible:
357d10bdc6eSBryan O'Donoghue          contains:
358d10bdc6eSBryan O'Donoghue            enum:
359d10bdc6eSBryan O'Donoghue              - qcom,sdm660-dsi-ctrl
360d10bdc6eSBryan O'Donoghue    then:
361d10bdc6eSBryan O'Donoghue      properties:
362d10bdc6eSBryan O'Donoghue        clocks:
363d10bdc6eSBryan O'Donoghue          maxItems: 9
364d10bdc6eSBryan O'Donoghue        clock-names:
365d10bdc6eSBryan O'Donoghue          items:
366d10bdc6eSBryan O'Donoghue            - const: mdp_core
367d10bdc6eSBryan O'Donoghue            - const: byte
368d10bdc6eSBryan O'Donoghue            - const: byte_intf
369d10bdc6eSBryan O'Donoghue            - const: mnoc
370d10bdc6eSBryan O'Donoghue            - const: iface
371d10bdc6eSBryan O'Donoghue            - const: bus
372d10bdc6eSBryan O'Donoghue            - const: core_mmss
373d10bdc6eSBryan O'Donoghue            - const: pixel
374d10bdc6eSBryan O'Donoghue            - const: core
375d10bdc6eSBryan O'Donoghue
376d10bdc6eSBryan O'Donoghue  - if:
377d10bdc6eSBryan O'Donoghue      properties:
378d10bdc6eSBryan O'Donoghue        compatible:
379d10bdc6eSBryan O'Donoghue          contains:
380d10bdc6eSBryan O'Donoghue            enum:
381d10bdc6eSBryan O'Donoghue              - qcom,sdm845-dsi-ctrl
3827360fc8bSKonrad Dybcio              - qcom,sm6115-dsi-ctrl
38327a86922SKonrad Dybcio              - qcom,sm6375-dsi-ctrl
384d10bdc6eSBryan O'Donoghue    then:
385d10bdc6eSBryan O'Donoghue      properties:
386d10bdc6eSBryan O'Donoghue        clocks:
387d10bdc6eSBryan O'Donoghue          maxItems: 6
388d10bdc6eSBryan O'Donoghue        clock-names:
389d10bdc6eSBryan O'Donoghue          items:
390d10bdc6eSBryan O'Donoghue            - const: byte
391d10bdc6eSBryan O'Donoghue            - const: byte_intf
392d10bdc6eSBryan O'Donoghue            - const: pixel
393d10bdc6eSBryan O'Donoghue            - const: core
394d10bdc6eSBryan O'Donoghue            - const: iface
395d10bdc6eSBryan O'Donoghue            - const: bus
396d10bdc6eSBryan O'Donoghue
39765e83594SDmitry BaryshkovunevaluatedProperties: false
3984dbe55c9SKrishna Manikandan
3994dbe55c9SKrishna Manikandanexamples:
4004dbe55c9SKrishna Manikandan  - |
4014dbe55c9SKrishna Manikandan     #include <dt-bindings/interrupt-controller/arm-gic.h>
4024dbe55c9SKrishna Manikandan     #include <dt-bindings/clock/qcom,dispcc-sdm845.h>
4034dbe55c9SKrishna Manikandan     #include <dt-bindings/clock/qcom,gcc-sdm845.h>
4044dbe55c9SKrishna Manikandan     #include <dt-bindings/power/qcom-rpmpd.h>
4054dbe55c9SKrishna Manikandan
4064dbe55c9SKrishna Manikandan     dsi@ae94000 {
4070c0f65c6SBryan O'Donoghue           compatible = "qcom,sc7180-dsi-ctrl", "qcom,mdss-dsi-ctrl";
4084dbe55c9SKrishna Manikandan           reg = <0x0ae94000 0x400>;
4094dbe55c9SKrishna Manikandan           reg-names = "dsi_ctrl";
4104dbe55c9SKrishna Manikandan
4114dbe55c9SKrishna Manikandan           #address-cells = <1>;
4124dbe55c9SKrishna Manikandan           #size-cells = <0>;
4134dbe55c9SKrishna Manikandan
4144dbe55c9SKrishna Manikandan           interrupt-parent = <&mdss>;
4154dbe55c9SKrishna Manikandan           interrupts = <4>;
4164dbe55c9SKrishna Manikandan
4174dbe55c9SKrishna Manikandan           clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
4184dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
4194dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
4204dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_ESC0_CLK>,
4214dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_AHB_CLK>,
4224dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_AXI_CLK>;
4234dbe55c9SKrishna Manikandan           clock-names = "byte",
4244dbe55c9SKrishna Manikandan                         "byte_intf",
4254dbe55c9SKrishna Manikandan                         "pixel",
4264dbe55c9SKrishna Manikandan                         "core",
4274dbe55c9SKrishna Manikandan                         "iface",
4284dbe55c9SKrishna Manikandan                         "bus";
4294dbe55c9SKrishna Manikandan
4304dbe55c9SKrishna Manikandan           phys = <&dsi0_phy>;
4314dbe55c9SKrishna Manikandan           phy-names = "dsi";
4324dbe55c9SKrishna Manikandan
433061a9aeaSDmitry Baryshkov           assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
434061a9aeaSDmitry Baryshkov           assigned-clock-parents = <&dsi_phy 0>, <&dsi_phy 1>;
435061a9aeaSDmitry Baryshkov
4364dbe55c9SKrishna Manikandan           power-domains = <&rpmhpd SC7180_CX>;
4374dbe55c9SKrishna Manikandan           operating-points-v2 = <&dsi_opp_table>;
4384dbe55c9SKrishna Manikandan
4394dbe55c9SKrishna Manikandan           ports {
4404dbe55c9SKrishna Manikandan                  #address-cells = <1>;
4414dbe55c9SKrishna Manikandan                  #size-cells = <0>;
4424dbe55c9SKrishna Manikandan
4434dbe55c9SKrishna Manikandan                  port@0 {
4444dbe55c9SKrishna Manikandan                          reg = <0>;
4454dbe55c9SKrishna Manikandan                          dsi0_in: endpoint {
4464dbe55c9SKrishna Manikandan                                   remote-endpoint = <&dpu_intf1_out>;
4474dbe55c9SKrishna Manikandan                          };
4484dbe55c9SKrishna Manikandan                  };
4494dbe55c9SKrishna Manikandan
4504dbe55c9SKrishna Manikandan                  port@1 {
4514dbe55c9SKrishna Manikandan                          reg = <1>;
4524dbe55c9SKrishna Manikandan                          dsi0_out: endpoint {
4534dbe55c9SKrishna Manikandan                                   remote-endpoint = <&sn65dsi86_in>;
4544dbe55c9SKrishna Manikandan                                   data-lanes = <0 1 2 3>;
4554dbe55c9SKrishna Manikandan                          };
4564dbe55c9SKrishna Manikandan                  };
4574dbe55c9SKrishna Manikandan           };
4584dbe55c9SKrishna Manikandan     };
4594dbe55c9SKrishna Manikandan...
460