xref: /linux/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml (revision 4334aec07a62e3b1afdf54f63dca757e4ce9518c)
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
280c0f65c6SBryan O'Donoghue              - qcom,sm8150-dsi-ctrl
290c0f65c6SBryan O'Donoghue              - qcom,sm8250-dsi-ctrl
300c0f65c6SBryan O'Donoghue              - qcom,sm8350-dsi-ctrl
310c0f65c6SBryan O'Donoghue              - qcom,sm8450-dsi-ctrl
320c0f65c6SBryan O'Donoghue              - qcom,sm8550-dsi-ctrl
330c0f65c6SBryan O'Donoghue          - const: qcom,mdss-dsi-ctrl
340c0f65c6SBryan O'Donoghue      - items:
350c0f65c6SBryan O'Donoghue          - enum:
360c0f65c6SBryan O'Donoghue              - dsi-ctrl-6g-qcm2290
370c0f65c6SBryan O'Donoghue          - const: qcom,mdss-dsi-ctrl
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).
77*4334aec0SRob Herring    $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
85061a9aeaSDmitry Baryshkov  assigned-clocks:
862f8e5f8bSDmitry Baryshkov    minItems: 2
872f8e5f8bSDmitry Baryshkov    maxItems: 4
88061a9aeaSDmitry Baryshkov    description: |
89061a9aeaSDmitry Baryshkov      Parents of "byte" and "pixel" for the given platform.
902f8e5f8bSDmitry Baryshkov      For DSIv2 platforms this should contain "byte", "esc", "src" and
912f8e5f8bSDmitry Baryshkov      "pixel_src" clocks.
92061a9aeaSDmitry Baryshkov
93061a9aeaSDmitry Baryshkov  assigned-clock-parents:
942f8e5f8bSDmitry Baryshkov    minItems: 2
952f8e5f8bSDmitry Baryshkov    maxItems: 4
96061a9aeaSDmitry Baryshkov    description: |
97061a9aeaSDmitry Baryshkov      The Byte clock and Pixel clock PLL outputs provided by a DSI PHY block.
98061a9aeaSDmitry Baryshkov
994dbe55c9SKrishna Manikandan  power-domains:
1004dbe55c9SKrishna Manikandan    maxItems: 1
1014dbe55c9SKrishna Manikandan
1024dbe55c9SKrishna Manikandan  operating-points-v2: true
1034dbe55c9SKrishna Manikandan
104bac4ccceSDmitry Baryshkov  opp-table:
105bac4ccceSDmitry Baryshkov    type: object
106bac4ccceSDmitry Baryshkov
1074dbe55c9SKrishna Manikandan  ports:
108*4334aec0SRob Herring    $ref: /schemas/graph.yaml#/properties/ports
1094dbe55c9SKrishna Manikandan    description: |
1104dbe55c9SKrishna Manikandan      Contains DSI controller input and output ports as children, each
1114dbe55c9SKrishna Manikandan      containing one endpoint subnode.
1124dbe55c9SKrishna Manikandan
1134dbe55c9SKrishna Manikandan    properties:
1144dbe55c9SKrishna Manikandan      port@0:
115*4334aec0SRob Herring        $ref: /schemas/graph.yaml#/$defs/port-base
116b4db237eSRob Herring        unevaluatedProperties: false
1174dbe55c9SKrishna Manikandan        description: |
1184dbe55c9SKrishna Manikandan          Input endpoints of the controller.
1194dbe55c9SKrishna Manikandan        properties:
1204dbe55c9SKrishna Manikandan          endpoint:
1214dbe55c9SKrishna Manikandan            $ref: /schemas/media/video-interfaces.yaml#
1224dbe55c9SKrishna Manikandan            unevaluatedProperties: false
1234dbe55c9SKrishna Manikandan            properties:
1244dbe55c9SKrishna Manikandan              data-lanes:
1254dbe55c9SKrishna Manikandan                maxItems: 4
1262fd5293dSDmitry Baryshkov                minItems: 1
1274dbe55c9SKrishna Manikandan                items:
1284dbe55c9SKrishna Manikandan                  enum: [ 0, 1, 2, 3 ]
1294dbe55c9SKrishna Manikandan
1304dbe55c9SKrishna Manikandan      port@1:
131*4334aec0SRob Herring        $ref: /schemas/graph.yaml#/$defs/port-base
132b4db237eSRob Herring        unevaluatedProperties: false
1334dbe55c9SKrishna Manikandan        description: |
1344dbe55c9SKrishna Manikandan          Output endpoints of the controller.
1354dbe55c9SKrishna Manikandan        properties:
1364dbe55c9SKrishna Manikandan          endpoint:
1374dbe55c9SKrishna Manikandan            $ref: /schemas/media/video-interfaces.yaml#
1384dbe55c9SKrishna Manikandan            unevaluatedProperties: false
1394dbe55c9SKrishna Manikandan            properties:
1404dbe55c9SKrishna Manikandan              data-lanes:
1414dbe55c9SKrishna Manikandan                maxItems: 4
1422fd5293dSDmitry Baryshkov                minItems: 1
1434dbe55c9SKrishna Manikandan                items:
1444dbe55c9SKrishna Manikandan                  enum: [ 0, 1, 2, 3 ]
1454dbe55c9SKrishna Manikandan
1464dbe55c9SKrishna Manikandan    required:
1474dbe55c9SKrishna Manikandan      - port@0
1484dbe55c9SKrishna Manikandan      - port@1
1494dbe55c9SKrishna Manikandan
15005c578d5SDmitry Baryshkov  avdd-supply:
15105c578d5SDmitry Baryshkov    description:
15205c578d5SDmitry Baryshkov      Phandle to vdd regulator device node
15305c578d5SDmitry Baryshkov
15405c578d5SDmitry Baryshkov  vcca-supply:
15505c578d5SDmitry Baryshkov    description:
15605c578d5SDmitry Baryshkov      Phandle to vdd regulator device node
15705c578d5SDmitry Baryshkov
158adf6a3ebSBryan O'Donoghue  vdd-supply:
159adf6a3ebSBryan O'Donoghue    description:
160adf6a3ebSBryan O'Donoghue      VDD regulator
161adf6a3ebSBryan O'Donoghue
162adf6a3ebSBryan O'Donoghue  vddio-supply:
163adf6a3ebSBryan O'Donoghue    description:
164adf6a3ebSBryan O'Donoghue      VDD-IO regulator
165adf6a3ebSBryan O'Donoghue
166adf6a3ebSBryan O'Donoghue  vdda-supply:
167adf6a3ebSBryan O'Donoghue    description:
168adf6a3ebSBryan O'Donoghue      VDDA regulator
169adf6a3ebSBryan O'Donoghue
1704dbe55c9SKrishna Manikandanrequired:
1714dbe55c9SKrishna Manikandan  - compatible
1724dbe55c9SKrishna Manikandan  - reg
1734dbe55c9SKrishna Manikandan  - reg-names
1744dbe55c9SKrishna Manikandan  - interrupts
1754dbe55c9SKrishna Manikandan  - clocks
1764dbe55c9SKrishna Manikandan  - clock-names
1774dbe55c9SKrishna Manikandan  - phys
178061a9aeaSDmitry Baryshkov  - assigned-clocks
179061a9aeaSDmitry Baryshkov  - assigned-clock-parents
1804dbe55c9SKrishna Manikandan  - ports
1814dbe55c9SKrishna Manikandan
182d10bdc6eSBryan O'DonoghueallOf:
183d10bdc6eSBryan O'Donoghue  - $ref: ../dsi-controller.yaml#
184d10bdc6eSBryan O'Donoghue  - if:
185d10bdc6eSBryan O'Donoghue      properties:
186d10bdc6eSBryan O'Donoghue        compatible:
187d10bdc6eSBryan O'Donoghue          contains:
188d10bdc6eSBryan O'Donoghue            enum:
189d10bdc6eSBryan O'Donoghue              - qcom,apq8064-dsi-ctrl
190d10bdc6eSBryan O'Donoghue    then:
191d10bdc6eSBryan O'Donoghue      properties:
192d10bdc6eSBryan O'Donoghue        clocks:
193d10bdc6eSBryan O'Donoghue          maxItems: 7
194d10bdc6eSBryan O'Donoghue        clock-names:
195d10bdc6eSBryan O'Donoghue          items:
196d10bdc6eSBryan O'Donoghue            - const: iface
197d10bdc6eSBryan O'Donoghue            - const: bus
198d10bdc6eSBryan O'Donoghue            - const: core_mmss
199d10bdc6eSBryan O'Donoghue            - const: src
200d10bdc6eSBryan O'Donoghue            - const: byte
201d10bdc6eSBryan O'Donoghue            - const: pixel
202d10bdc6eSBryan O'Donoghue            - const: core
203d10bdc6eSBryan O'Donoghue
204d10bdc6eSBryan O'Donoghue  - if:
205d10bdc6eSBryan O'Donoghue      properties:
206d10bdc6eSBryan O'Donoghue        compatible:
207d10bdc6eSBryan O'Donoghue          contains:
208d10bdc6eSBryan O'Donoghue            enum:
209d10bdc6eSBryan O'Donoghue              - qcom,msm8916-dsi-ctrl
210d10bdc6eSBryan O'Donoghue    then:
211d10bdc6eSBryan O'Donoghue      properties:
212d10bdc6eSBryan O'Donoghue        clocks:
213d10bdc6eSBryan O'Donoghue          maxItems: 6
214d10bdc6eSBryan O'Donoghue        clock-names:
215d10bdc6eSBryan O'Donoghue          items:
216d10bdc6eSBryan O'Donoghue            - const: mdp_core
217d10bdc6eSBryan O'Donoghue            - const: iface
218d10bdc6eSBryan O'Donoghue            - const: bus
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,msm8953-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,msm8974-dsi-ctrl
248d10bdc6eSBryan O'Donoghue    then:
249d10bdc6eSBryan O'Donoghue      properties:
250d10bdc6eSBryan O'Donoghue        clocks:
251d10bdc6eSBryan O'Donoghue          maxItems: 7
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            - const: core_mmss
261d10bdc6eSBryan O'Donoghue
262d10bdc6eSBryan O'Donoghue  - if:
263d10bdc6eSBryan O'Donoghue      properties:
264d10bdc6eSBryan O'Donoghue        compatible:
265d10bdc6eSBryan O'Donoghue          contains:
266d10bdc6eSBryan O'Donoghue            enum:
267d10bdc6eSBryan O'Donoghue              - qcom,msm8996-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: byte
276d10bdc6eSBryan O'Donoghue            - const: iface
277d10bdc6eSBryan O'Donoghue            - const: bus
278d10bdc6eSBryan O'Donoghue            - const: core_mmss
279d10bdc6eSBryan O'Donoghue            - const: pixel
280d10bdc6eSBryan O'Donoghue            - const: core
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,msm8998-dsi-ctrl
288d10bdc6eSBryan O'Donoghue    then:
289d10bdc6eSBryan O'Donoghue      properties:
290d10bdc6eSBryan O'Donoghue        clocks:
291d10bdc6eSBryan O'Donoghue          maxItems: 6
292d10bdc6eSBryan O'Donoghue        clock-names:
293d10bdc6eSBryan O'Donoghue          items:
294d10bdc6eSBryan O'Donoghue            - const: byte
295d10bdc6eSBryan O'Donoghue            - const: byte_intf
296d10bdc6eSBryan O'Donoghue            - const: pixel
297d10bdc6eSBryan O'Donoghue            - const: core
298d10bdc6eSBryan O'Donoghue            - const: iface
299d10bdc6eSBryan O'Donoghue            - const: bus
300d10bdc6eSBryan O'Donoghue
301d10bdc6eSBryan O'Donoghue  - if:
302d10bdc6eSBryan O'Donoghue      properties:
303d10bdc6eSBryan O'Donoghue        compatible:
304d10bdc6eSBryan O'Donoghue          contains:
305d10bdc6eSBryan O'Donoghue            enum:
306d10bdc6eSBryan O'Donoghue              - qcom,sc7180-dsi-ctrl
307d10bdc6eSBryan O'Donoghue              - qcom,sc7280-dsi-ctrl
308d10bdc6eSBryan O'Donoghue              - qcom,sm8150-dsi-ctrl
309d10bdc6eSBryan O'Donoghue              - qcom,sm8250-dsi-ctrl
310d10bdc6eSBryan O'Donoghue              - qcom,sm8350-dsi-ctrl
311d10bdc6eSBryan O'Donoghue              - qcom,sm8450-dsi-ctrl
312d10bdc6eSBryan O'Donoghue              - qcom,sm8550-dsi-ctrl
313d10bdc6eSBryan O'Donoghue    then:
314d10bdc6eSBryan O'Donoghue      properties:
315d10bdc6eSBryan O'Donoghue        clocks:
316d10bdc6eSBryan O'Donoghue          maxItems: 6
317d10bdc6eSBryan O'Donoghue        clock-names:
318d10bdc6eSBryan O'Donoghue          items:
319d10bdc6eSBryan O'Donoghue            - const: byte
320d10bdc6eSBryan O'Donoghue            - const: byte_intf
321d10bdc6eSBryan O'Donoghue            - const: pixel
322d10bdc6eSBryan O'Donoghue            - const: core
323d10bdc6eSBryan O'Donoghue            - const: iface
324d10bdc6eSBryan O'Donoghue            - const: bus
325d10bdc6eSBryan O'Donoghue
326d10bdc6eSBryan O'Donoghue  - if:
327d10bdc6eSBryan O'Donoghue      properties:
328d10bdc6eSBryan O'Donoghue        compatible:
329d10bdc6eSBryan O'Donoghue          contains:
330d10bdc6eSBryan O'Donoghue            enum:
331d10bdc6eSBryan O'Donoghue              - qcom,sdm660-dsi-ctrl
332d10bdc6eSBryan O'Donoghue    then:
333d10bdc6eSBryan O'Donoghue      properties:
334d10bdc6eSBryan O'Donoghue        clocks:
335d10bdc6eSBryan O'Donoghue          maxItems: 9
336d10bdc6eSBryan O'Donoghue        clock-names:
337d10bdc6eSBryan O'Donoghue          items:
338d10bdc6eSBryan O'Donoghue            - const: mdp_core
339d10bdc6eSBryan O'Donoghue            - const: byte
340d10bdc6eSBryan O'Donoghue            - const: byte_intf
341d10bdc6eSBryan O'Donoghue            - const: mnoc
342d10bdc6eSBryan O'Donoghue            - const: iface
343d10bdc6eSBryan O'Donoghue            - const: bus
344d10bdc6eSBryan O'Donoghue            - const: core_mmss
345d10bdc6eSBryan O'Donoghue            - const: pixel
346d10bdc6eSBryan O'Donoghue            - const: core
347d10bdc6eSBryan O'Donoghue
348d10bdc6eSBryan O'Donoghue  - if:
349d10bdc6eSBryan O'Donoghue      properties:
350d10bdc6eSBryan O'Donoghue        compatible:
351d10bdc6eSBryan O'Donoghue          contains:
352d10bdc6eSBryan O'Donoghue            enum:
353d10bdc6eSBryan O'Donoghue              - qcom,sdm845-dsi-ctrl
354d10bdc6eSBryan O'Donoghue    then:
355d10bdc6eSBryan O'Donoghue      properties:
356d10bdc6eSBryan O'Donoghue        clocks:
357d10bdc6eSBryan O'Donoghue          maxItems: 6
358d10bdc6eSBryan O'Donoghue        clock-names:
359d10bdc6eSBryan O'Donoghue          items:
360d10bdc6eSBryan O'Donoghue            - const: byte
361d10bdc6eSBryan O'Donoghue            - const: byte_intf
362d10bdc6eSBryan O'Donoghue            - const: pixel
363d10bdc6eSBryan O'Donoghue            - const: core
364d10bdc6eSBryan O'Donoghue            - const: iface
365d10bdc6eSBryan O'Donoghue            - const: bus
366d10bdc6eSBryan O'Donoghue
36765e83594SDmitry BaryshkovunevaluatedProperties: false
3684dbe55c9SKrishna Manikandan
3694dbe55c9SKrishna Manikandanexamples:
3704dbe55c9SKrishna Manikandan  - |
3714dbe55c9SKrishna Manikandan     #include <dt-bindings/interrupt-controller/arm-gic.h>
3724dbe55c9SKrishna Manikandan     #include <dt-bindings/clock/qcom,dispcc-sdm845.h>
3734dbe55c9SKrishna Manikandan     #include <dt-bindings/clock/qcom,gcc-sdm845.h>
3744dbe55c9SKrishna Manikandan     #include <dt-bindings/power/qcom-rpmpd.h>
3754dbe55c9SKrishna Manikandan
3764dbe55c9SKrishna Manikandan     dsi@ae94000 {
3770c0f65c6SBryan O'Donoghue           compatible = "qcom,sc7180-dsi-ctrl", "qcom,mdss-dsi-ctrl";
3784dbe55c9SKrishna Manikandan           reg = <0x0ae94000 0x400>;
3794dbe55c9SKrishna Manikandan           reg-names = "dsi_ctrl";
3804dbe55c9SKrishna Manikandan
3814dbe55c9SKrishna Manikandan           #address-cells = <1>;
3824dbe55c9SKrishna Manikandan           #size-cells = <0>;
3834dbe55c9SKrishna Manikandan
3844dbe55c9SKrishna Manikandan           interrupt-parent = <&mdss>;
3854dbe55c9SKrishna Manikandan           interrupts = <4>;
3864dbe55c9SKrishna Manikandan
3874dbe55c9SKrishna Manikandan           clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
3884dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
3894dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
3904dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_ESC0_CLK>,
3914dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_AHB_CLK>,
3924dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_AXI_CLK>;
3934dbe55c9SKrishna Manikandan           clock-names = "byte",
3944dbe55c9SKrishna Manikandan                         "byte_intf",
3954dbe55c9SKrishna Manikandan                         "pixel",
3964dbe55c9SKrishna Manikandan                         "core",
3974dbe55c9SKrishna Manikandan                         "iface",
3984dbe55c9SKrishna Manikandan                         "bus";
3994dbe55c9SKrishna Manikandan
4004dbe55c9SKrishna Manikandan           phys = <&dsi0_phy>;
4014dbe55c9SKrishna Manikandan           phy-names = "dsi";
4024dbe55c9SKrishna Manikandan
403061a9aeaSDmitry Baryshkov           assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
404061a9aeaSDmitry Baryshkov           assigned-clock-parents = <&dsi_phy 0>, <&dsi_phy 1>;
405061a9aeaSDmitry Baryshkov
4064dbe55c9SKrishna Manikandan           power-domains = <&rpmhpd SC7180_CX>;
4074dbe55c9SKrishna Manikandan           operating-points-v2 = <&dsi_opp_table>;
4084dbe55c9SKrishna Manikandan
4094dbe55c9SKrishna Manikandan           ports {
4104dbe55c9SKrishna Manikandan                  #address-cells = <1>;
4114dbe55c9SKrishna Manikandan                  #size-cells = <0>;
4124dbe55c9SKrishna Manikandan
4134dbe55c9SKrishna Manikandan                  port@0 {
4144dbe55c9SKrishna Manikandan                          reg = <0>;
4154dbe55c9SKrishna Manikandan                          dsi0_in: endpoint {
4164dbe55c9SKrishna Manikandan                                   remote-endpoint = <&dpu_intf1_out>;
4174dbe55c9SKrishna Manikandan                          };
4184dbe55c9SKrishna Manikandan                  };
4194dbe55c9SKrishna Manikandan
4204dbe55c9SKrishna Manikandan                  port@1 {
4214dbe55c9SKrishna Manikandan                          reg = <1>;
4224dbe55c9SKrishna Manikandan                          dsi0_out: endpoint {
4234dbe55c9SKrishna Manikandan                                   remote-endpoint = <&sn65dsi86_in>;
4244dbe55c9SKrishna Manikandan                                   data-lanes = <0 1 2 3>;
4254dbe55c9SKrishna Manikandan                          };
4264dbe55c9SKrishna Manikandan                  };
4274dbe55c9SKrishna Manikandan           };
4284dbe55c9SKrishna Manikandan     };
4294dbe55c9SKrishna Manikandan...
430