xref: /linux/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml (revision 36b0d6c177020b82e3d2587085f1140107b5b75c)
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      - enum:
35*36b0d6c1SKonrad Dybcio          - qcom,dsi-ctrl-6g-qcm2290
36*36b0d6c1SKonrad Dybcio          - qcom,mdss-dsi-ctrl # This should always come with an SoC-specific compatible
370c0f65c6SBryan O'Donoghue        deprecated: true
384dbe55c9SKrishna Manikandan
394dbe55c9SKrishna Manikandan  reg:
404dbe55c9SKrishna Manikandan    maxItems: 1
414dbe55c9SKrishna Manikandan
424dbe55c9SKrishna Manikandan  reg-names:
434dbe55c9SKrishna Manikandan    const: dsi_ctrl
444dbe55c9SKrishna Manikandan
454dbe55c9SKrishna Manikandan  interrupts:
464dbe55c9SKrishna Manikandan    maxItems: 1
474dbe55c9SKrishna Manikandan
484dbe55c9SKrishna Manikandan  clocks:
49d10bdc6eSBryan O'Donoghue    description: |
50d10bdc6eSBryan O'Donoghue      Several clocks are used, depending on the variant. Typical ones are::
51d10bdc6eSBryan O'Donoghue       - bus:: Display AHB clock.
52d10bdc6eSBryan O'Donoghue       - byte:: Display byte clock.
53d10bdc6eSBryan O'Donoghue       - byte_intf:: Display byte interface clock.
54d10bdc6eSBryan O'Donoghue       - core:: Display core clock.
55d10bdc6eSBryan O'Donoghue       - core_mss:: Core MultiMedia SubSystem clock.
56d10bdc6eSBryan O'Donoghue       - iface:: Display AXI clock.
57d10bdc6eSBryan O'Donoghue       - mdp_core:: MDP Core clock.
58d10bdc6eSBryan O'Donoghue       - mnoc:: MNOC clock
59d10bdc6eSBryan O'Donoghue       - pixel:: Display pixel clock.
60d10bdc6eSBryan O'Donoghue    minItems: 3
61d10bdc6eSBryan O'Donoghue    maxItems: 9
624dbe55c9SKrishna Manikandan
634dbe55c9SKrishna Manikandan  clock-names:
64d10bdc6eSBryan O'Donoghue    minItems: 3
65d10bdc6eSBryan O'Donoghue    maxItems: 9
664dbe55c9SKrishna Manikandan
674dbe55c9SKrishna Manikandan  phys:
684dbe55c9SKrishna Manikandan    maxItems: 1
694dbe55c9SKrishna Manikandan
704dbe55c9SKrishna Manikandan  phy-names:
71c5415562SBryan O'Donoghue    deprecated: true
724dbe55c9SKrishna Manikandan    const: dsi
734dbe55c9SKrishna Manikandan
744dbe55c9SKrishna Manikandan  syscon-sfpb:
754dbe55c9SKrishna Manikandan    description: A phandle to mmss_sfpb syscon node (only for DSIv2).
764dbe55c9SKrishna Manikandan    $ref: "/schemas/types.yaml#/definitions/phandle"
774dbe55c9SKrishna Manikandan
784dbe55c9SKrishna Manikandan  qcom,dual-dsi-mode:
794dbe55c9SKrishna Manikandan    type: boolean
804dbe55c9SKrishna Manikandan    description: |
814dbe55c9SKrishna Manikandan      Indicates if the DSI controller is driving a panel which needs
824dbe55c9SKrishna Manikandan      2 DSI links.
834dbe55c9SKrishna Manikandan
84061a9aeaSDmitry Baryshkov  assigned-clocks:
852f8e5f8bSDmitry Baryshkov    minItems: 2
862f8e5f8bSDmitry Baryshkov    maxItems: 4
87061a9aeaSDmitry Baryshkov    description: |
88061a9aeaSDmitry Baryshkov      Parents of "byte" and "pixel" for the given platform.
892f8e5f8bSDmitry Baryshkov      For DSIv2 platforms this should contain "byte", "esc", "src" and
902f8e5f8bSDmitry Baryshkov      "pixel_src" clocks.
91061a9aeaSDmitry Baryshkov
92061a9aeaSDmitry Baryshkov  assigned-clock-parents:
932f8e5f8bSDmitry Baryshkov    minItems: 2
942f8e5f8bSDmitry Baryshkov    maxItems: 4
95061a9aeaSDmitry Baryshkov    description: |
96061a9aeaSDmitry Baryshkov      The Byte clock and Pixel clock PLL outputs provided by a DSI PHY block.
97061a9aeaSDmitry Baryshkov
984dbe55c9SKrishna Manikandan  power-domains:
994dbe55c9SKrishna Manikandan    maxItems: 1
1004dbe55c9SKrishna Manikandan
1014dbe55c9SKrishna Manikandan  operating-points-v2: true
1024dbe55c9SKrishna Manikandan
103bac4ccceSDmitry Baryshkov  opp-table:
104bac4ccceSDmitry Baryshkov    type: object
105bac4ccceSDmitry Baryshkov
1064dbe55c9SKrishna Manikandan  ports:
1074dbe55c9SKrishna Manikandan    $ref: "/schemas/graph.yaml#/properties/ports"
1084dbe55c9SKrishna Manikandan    description: |
1094dbe55c9SKrishna Manikandan      Contains DSI controller input and output ports as children, each
1104dbe55c9SKrishna Manikandan      containing one endpoint subnode.
1114dbe55c9SKrishna Manikandan
1124dbe55c9SKrishna Manikandan    properties:
1134dbe55c9SKrishna Manikandan      port@0:
114b4db237eSRob Herring        $ref: "/schemas/graph.yaml#/$defs/port-base"
115b4db237eSRob Herring        unevaluatedProperties: false
1164dbe55c9SKrishna Manikandan        description: |
1174dbe55c9SKrishna Manikandan          Input endpoints of the controller.
1184dbe55c9SKrishna Manikandan        properties:
1194dbe55c9SKrishna Manikandan          endpoint:
1204dbe55c9SKrishna Manikandan            $ref: /schemas/media/video-interfaces.yaml#
1214dbe55c9SKrishna Manikandan            unevaluatedProperties: false
1224dbe55c9SKrishna Manikandan            properties:
1234dbe55c9SKrishna Manikandan              data-lanes:
1244dbe55c9SKrishna Manikandan                maxItems: 4
1252fd5293dSDmitry Baryshkov                minItems: 1
1264dbe55c9SKrishna Manikandan                items:
1274dbe55c9SKrishna Manikandan                  enum: [ 0, 1, 2, 3 ]
1284dbe55c9SKrishna Manikandan
1294dbe55c9SKrishna Manikandan      port@1:
130b4db237eSRob Herring        $ref: "/schemas/graph.yaml#/$defs/port-base"
131b4db237eSRob Herring        unevaluatedProperties: false
1324dbe55c9SKrishna Manikandan        description: |
1334dbe55c9SKrishna Manikandan          Output 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    required:
1464dbe55c9SKrishna Manikandan      - port@0
1474dbe55c9SKrishna Manikandan      - port@1
1484dbe55c9SKrishna Manikandan
14905c578d5SDmitry Baryshkov  avdd-supply:
15005c578d5SDmitry Baryshkov    description:
15105c578d5SDmitry Baryshkov      Phandle to vdd regulator device node
15205c578d5SDmitry Baryshkov
15305c578d5SDmitry Baryshkov  vcca-supply:
15405c578d5SDmitry Baryshkov    description:
15505c578d5SDmitry Baryshkov      Phandle to vdd regulator device node
15605c578d5SDmitry Baryshkov
157adf6a3ebSBryan O'Donoghue  vdd-supply:
158adf6a3ebSBryan O'Donoghue    description:
159adf6a3ebSBryan O'Donoghue      VDD regulator
160adf6a3ebSBryan O'Donoghue
161adf6a3ebSBryan O'Donoghue  vddio-supply:
162adf6a3ebSBryan O'Donoghue    description:
163adf6a3ebSBryan O'Donoghue      VDD-IO regulator
164adf6a3ebSBryan O'Donoghue
165adf6a3ebSBryan O'Donoghue  vdda-supply:
166adf6a3ebSBryan O'Donoghue    description:
167adf6a3ebSBryan O'Donoghue      VDDA regulator
168adf6a3ebSBryan O'Donoghue
1694dbe55c9SKrishna Manikandanrequired:
1704dbe55c9SKrishna Manikandan  - compatible
1714dbe55c9SKrishna Manikandan  - reg
1724dbe55c9SKrishna Manikandan  - reg-names
1734dbe55c9SKrishna Manikandan  - interrupts
1744dbe55c9SKrishna Manikandan  - clocks
1754dbe55c9SKrishna Manikandan  - clock-names
1764dbe55c9SKrishna Manikandan  - phys
177061a9aeaSDmitry Baryshkov  - assigned-clocks
178061a9aeaSDmitry Baryshkov  - assigned-clock-parents
1794dbe55c9SKrishna Manikandan  - ports
1804dbe55c9SKrishna Manikandan
181d10bdc6eSBryan O'DonoghueallOf:
182d10bdc6eSBryan O'Donoghue  - $ref: ../dsi-controller.yaml#
183d10bdc6eSBryan O'Donoghue  - if:
184d10bdc6eSBryan O'Donoghue      properties:
185d10bdc6eSBryan O'Donoghue        compatible:
186d10bdc6eSBryan O'Donoghue          contains:
187d10bdc6eSBryan O'Donoghue            enum:
188d10bdc6eSBryan O'Donoghue              - qcom,apq8064-dsi-ctrl
189d10bdc6eSBryan O'Donoghue    then:
190d10bdc6eSBryan O'Donoghue      properties:
191d10bdc6eSBryan O'Donoghue        clocks:
192d10bdc6eSBryan O'Donoghue          maxItems: 7
193d10bdc6eSBryan O'Donoghue        clock-names:
194d10bdc6eSBryan O'Donoghue          items:
195d10bdc6eSBryan O'Donoghue            - const: iface
196d10bdc6eSBryan O'Donoghue            - const: bus
197d10bdc6eSBryan O'Donoghue            - const: core_mmss
198d10bdc6eSBryan O'Donoghue            - const: src
199d10bdc6eSBryan O'Donoghue            - const: byte
200d10bdc6eSBryan O'Donoghue            - const: pixel
201d10bdc6eSBryan O'Donoghue            - const: core
202d10bdc6eSBryan O'Donoghue
203d10bdc6eSBryan O'Donoghue  - if:
204d10bdc6eSBryan O'Donoghue      properties:
205d10bdc6eSBryan O'Donoghue        compatible:
206d10bdc6eSBryan O'Donoghue          contains:
207d10bdc6eSBryan O'Donoghue            enum:
208d10bdc6eSBryan O'Donoghue              - qcom,msm8916-dsi-ctrl
209d10bdc6eSBryan O'Donoghue    then:
210d10bdc6eSBryan O'Donoghue      properties:
211d10bdc6eSBryan O'Donoghue        clocks:
212d10bdc6eSBryan O'Donoghue          maxItems: 6
213d10bdc6eSBryan O'Donoghue        clock-names:
214d10bdc6eSBryan O'Donoghue          items:
215d10bdc6eSBryan O'Donoghue            - const: mdp_core
216d10bdc6eSBryan O'Donoghue            - const: iface
217d10bdc6eSBryan O'Donoghue            - const: bus
218d10bdc6eSBryan O'Donoghue            - const: byte
219d10bdc6eSBryan O'Donoghue            - const: pixel
220d10bdc6eSBryan O'Donoghue            - const: core
221d10bdc6eSBryan O'Donoghue
222d10bdc6eSBryan O'Donoghue  - if:
223d10bdc6eSBryan O'Donoghue      properties:
224d10bdc6eSBryan O'Donoghue        compatible:
225d10bdc6eSBryan O'Donoghue          contains:
226d10bdc6eSBryan O'Donoghue            enum:
227d10bdc6eSBryan O'Donoghue              - qcom,msm8953-dsi-ctrl
228d10bdc6eSBryan O'Donoghue    then:
229d10bdc6eSBryan O'Donoghue      properties:
230d10bdc6eSBryan O'Donoghue        clocks:
231d10bdc6eSBryan O'Donoghue          maxItems: 6
232d10bdc6eSBryan O'Donoghue        clock-names:
233d10bdc6eSBryan O'Donoghue          items:
234d10bdc6eSBryan O'Donoghue            - const: mdp_core
235d10bdc6eSBryan O'Donoghue            - const: iface
236d10bdc6eSBryan O'Donoghue            - const: bus
237d10bdc6eSBryan O'Donoghue            - const: byte
238d10bdc6eSBryan O'Donoghue            - const: pixel
239d10bdc6eSBryan O'Donoghue            - const: core
240d10bdc6eSBryan O'Donoghue
241d10bdc6eSBryan O'Donoghue  - if:
242d10bdc6eSBryan O'Donoghue      properties:
243d10bdc6eSBryan O'Donoghue        compatible:
244d10bdc6eSBryan O'Donoghue          contains:
245d10bdc6eSBryan O'Donoghue            enum:
246d10bdc6eSBryan O'Donoghue              - qcom,msm8974-dsi-ctrl
247d10bdc6eSBryan O'Donoghue    then:
248d10bdc6eSBryan O'Donoghue      properties:
249d10bdc6eSBryan O'Donoghue        clocks:
250d10bdc6eSBryan O'Donoghue          maxItems: 7
251d10bdc6eSBryan O'Donoghue        clock-names:
252d10bdc6eSBryan O'Donoghue          items:
253d10bdc6eSBryan O'Donoghue            - const: mdp_core
254d10bdc6eSBryan O'Donoghue            - const: iface
255d10bdc6eSBryan O'Donoghue            - const: bus
256d10bdc6eSBryan O'Donoghue            - const: byte
257d10bdc6eSBryan O'Donoghue            - const: pixel
258d10bdc6eSBryan O'Donoghue            - const: core
259d10bdc6eSBryan O'Donoghue            - const: core_mmss
260d10bdc6eSBryan O'Donoghue
261d10bdc6eSBryan O'Donoghue  - if:
262d10bdc6eSBryan O'Donoghue      properties:
263d10bdc6eSBryan O'Donoghue        compatible:
264d10bdc6eSBryan O'Donoghue          contains:
265d10bdc6eSBryan O'Donoghue            enum:
266d10bdc6eSBryan O'Donoghue              - qcom,msm8996-dsi-ctrl
267d10bdc6eSBryan O'Donoghue    then:
268d10bdc6eSBryan O'Donoghue      properties:
269d10bdc6eSBryan O'Donoghue        clocks:
270d10bdc6eSBryan O'Donoghue          maxItems: 7
271d10bdc6eSBryan O'Donoghue        clock-names:
272d10bdc6eSBryan O'Donoghue          items:
273d10bdc6eSBryan O'Donoghue            - const: mdp_core
274d10bdc6eSBryan O'Donoghue            - const: byte
275d10bdc6eSBryan O'Donoghue            - const: iface
276d10bdc6eSBryan O'Donoghue            - const: bus
277d10bdc6eSBryan O'Donoghue            - const: core_mmss
278d10bdc6eSBryan O'Donoghue            - const: pixel
279d10bdc6eSBryan O'Donoghue            - const: core
280d10bdc6eSBryan O'Donoghue
281d10bdc6eSBryan O'Donoghue  - if:
282d10bdc6eSBryan O'Donoghue      properties:
283d10bdc6eSBryan O'Donoghue        compatible:
284d10bdc6eSBryan O'Donoghue          contains:
285d10bdc6eSBryan O'Donoghue            enum:
286d10bdc6eSBryan O'Donoghue              - qcom,msm8998-dsi-ctrl
287d10bdc6eSBryan O'Donoghue    then:
288d10bdc6eSBryan O'Donoghue      properties:
289d10bdc6eSBryan O'Donoghue        clocks:
290d10bdc6eSBryan O'Donoghue          maxItems: 6
291d10bdc6eSBryan O'Donoghue        clock-names:
292d10bdc6eSBryan O'Donoghue          items:
293d10bdc6eSBryan O'Donoghue            - const: byte
294d10bdc6eSBryan O'Donoghue            - const: byte_intf
295d10bdc6eSBryan O'Donoghue            - const: pixel
296d10bdc6eSBryan O'Donoghue            - const: core
297d10bdc6eSBryan O'Donoghue            - const: iface
298d10bdc6eSBryan O'Donoghue            - const: bus
299d10bdc6eSBryan O'Donoghue
300d10bdc6eSBryan O'Donoghue  - if:
301d10bdc6eSBryan O'Donoghue      properties:
302d10bdc6eSBryan O'Donoghue        compatible:
303d10bdc6eSBryan O'Donoghue          contains:
304d10bdc6eSBryan O'Donoghue            enum:
305d10bdc6eSBryan O'Donoghue              - qcom,sc7180-dsi-ctrl
306d10bdc6eSBryan O'Donoghue              - qcom,sc7280-dsi-ctrl
307d10bdc6eSBryan O'Donoghue              - qcom,sm8150-dsi-ctrl
308d10bdc6eSBryan O'Donoghue              - qcom,sm8250-dsi-ctrl
309d10bdc6eSBryan O'Donoghue              - qcom,sm8350-dsi-ctrl
310d10bdc6eSBryan O'Donoghue              - qcom,sm8450-dsi-ctrl
311d10bdc6eSBryan O'Donoghue              - qcom,sm8550-dsi-ctrl
312d10bdc6eSBryan O'Donoghue    then:
313d10bdc6eSBryan O'Donoghue      properties:
314d10bdc6eSBryan O'Donoghue        clocks:
315d10bdc6eSBryan O'Donoghue          maxItems: 6
316d10bdc6eSBryan O'Donoghue        clock-names:
317d10bdc6eSBryan O'Donoghue          items:
318d10bdc6eSBryan O'Donoghue            - const: byte
319d10bdc6eSBryan O'Donoghue            - const: byte_intf
320d10bdc6eSBryan O'Donoghue            - const: pixel
321d10bdc6eSBryan O'Donoghue            - const: core
322d10bdc6eSBryan O'Donoghue            - const: iface
323d10bdc6eSBryan O'Donoghue            - const: bus
324d10bdc6eSBryan O'Donoghue
325d10bdc6eSBryan O'Donoghue  - if:
326d10bdc6eSBryan O'Donoghue      properties:
327d10bdc6eSBryan O'Donoghue        compatible:
328d10bdc6eSBryan O'Donoghue          contains:
329d10bdc6eSBryan O'Donoghue            enum:
330d10bdc6eSBryan O'Donoghue              - qcom,sdm660-dsi-ctrl
331d10bdc6eSBryan O'Donoghue    then:
332d10bdc6eSBryan O'Donoghue      properties:
333d10bdc6eSBryan O'Donoghue        clocks:
334d10bdc6eSBryan O'Donoghue          maxItems: 9
335d10bdc6eSBryan O'Donoghue        clock-names:
336d10bdc6eSBryan O'Donoghue          items:
337d10bdc6eSBryan O'Donoghue            - const: mdp_core
338d10bdc6eSBryan O'Donoghue            - const: byte
339d10bdc6eSBryan O'Donoghue            - const: byte_intf
340d10bdc6eSBryan O'Donoghue            - const: mnoc
341d10bdc6eSBryan O'Donoghue            - const: iface
342d10bdc6eSBryan O'Donoghue            - const: bus
343d10bdc6eSBryan O'Donoghue            - const: core_mmss
344d10bdc6eSBryan O'Donoghue            - const: pixel
345d10bdc6eSBryan O'Donoghue            - const: core
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,sdm845-dsi-ctrl
353d10bdc6eSBryan O'Donoghue    then:
354d10bdc6eSBryan O'Donoghue      properties:
355d10bdc6eSBryan O'Donoghue        clocks:
356d10bdc6eSBryan O'Donoghue          maxItems: 6
357d10bdc6eSBryan O'Donoghue        clock-names:
358d10bdc6eSBryan O'Donoghue          items:
359d10bdc6eSBryan O'Donoghue            - const: byte
360d10bdc6eSBryan O'Donoghue            - const: byte_intf
361d10bdc6eSBryan O'Donoghue            - const: pixel
362d10bdc6eSBryan O'Donoghue            - const: core
363d10bdc6eSBryan O'Donoghue            - const: iface
364d10bdc6eSBryan O'Donoghue            - const: bus
365d10bdc6eSBryan O'Donoghue
36665e83594SDmitry BaryshkovunevaluatedProperties: false
3674dbe55c9SKrishna Manikandan
3684dbe55c9SKrishna Manikandanexamples:
3694dbe55c9SKrishna Manikandan  - |
3704dbe55c9SKrishna Manikandan     #include <dt-bindings/interrupt-controller/arm-gic.h>
3714dbe55c9SKrishna Manikandan     #include <dt-bindings/clock/qcom,dispcc-sdm845.h>
3724dbe55c9SKrishna Manikandan     #include <dt-bindings/clock/qcom,gcc-sdm845.h>
3734dbe55c9SKrishna Manikandan     #include <dt-bindings/power/qcom-rpmpd.h>
3744dbe55c9SKrishna Manikandan
3754dbe55c9SKrishna Manikandan     dsi@ae94000 {
3760c0f65c6SBryan O'Donoghue           compatible = "qcom,sc7180-dsi-ctrl", "qcom,mdss-dsi-ctrl";
3774dbe55c9SKrishna Manikandan           reg = <0x0ae94000 0x400>;
3784dbe55c9SKrishna Manikandan           reg-names = "dsi_ctrl";
3794dbe55c9SKrishna Manikandan
3804dbe55c9SKrishna Manikandan           #address-cells = <1>;
3814dbe55c9SKrishna Manikandan           #size-cells = <0>;
3824dbe55c9SKrishna Manikandan
3834dbe55c9SKrishna Manikandan           interrupt-parent = <&mdss>;
3844dbe55c9SKrishna Manikandan           interrupts = <4>;
3854dbe55c9SKrishna Manikandan
3864dbe55c9SKrishna Manikandan           clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
3874dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
3884dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
3894dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_ESC0_CLK>,
3904dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_AHB_CLK>,
3914dbe55c9SKrishna Manikandan                    <&dispcc DISP_CC_MDSS_AXI_CLK>;
3924dbe55c9SKrishna Manikandan           clock-names = "byte",
3934dbe55c9SKrishna Manikandan                         "byte_intf",
3944dbe55c9SKrishna Manikandan                         "pixel",
3954dbe55c9SKrishna Manikandan                         "core",
3964dbe55c9SKrishna Manikandan                         "iface",
3974dbe55c9SKrishna Manikandan                         "bus";
3984dbe55c9SKrishna Manikandan
3994dbe55c9SKrishna Manikandan           phys = <&dsi0_phy>;
4004dbe55c9SKrishna Manikandan           phy-names = "dsi";
4014dbe55c9SKrishna Manikandan
402061a9aeaSDmitry Baryshkov           assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
403061a9aeaSDmitry Baryshkov           assigned-clock-parents = <&dsi_phy 0>, <&dsi_phy 1>;
404061a9aeaSDmitry Baryshkov
4054dbe55c9SKrishna Manikandan           power-domains = <&rpmhpd SC7180_CX>;
4064dbe55c9SKrishna Manikandan           operating-points-v2 = <&dsi_opp_table>;
4074dbe55c9SKrishna Manikandan
4084dbe55c9SKrishna Manikandan           ports {
4094dbe55c9SKrishna Manikandan                  #address-cells = <1>;
4104dbe55c9SKrishna Manikandan                  #size-cells = <0>;
4114dbe55c9SKrishna Manikandan
4124dbe55c9SKrishna Manikandan                  port@0 {
4134dbe55c9SKrishna Manikandan                          reg = <0>;
4144dbe55c9SKrishna Manikandan                          dsi0_in: endpoint {
4154dbe55c9SKrishna Manikandan                                   remote-endpoint = <&dpu_intf1_out>;
4164dbe55c9SKrishna Manikandan                          };
4174dbe55c9SKrishna Manikandan                  };
4184dbe55c9SKrishna Manikandan
4194dbe55c9SKrishna Manikandan                  port@1 {
4204dbe55c9SKrishna Manikandan                          reg = <1>;
4214dbe55c9SKrishna Manikandan                          dsi0_out: endpoint {
4224dbe55c9SKrishna Manikandan                                   remote-endpoint = <&sn65dsi86_in>;
4234dbe55c9SKrishna Manikandan                                   data-lanes = <0 1 2 3>;
4244dbe55c9SKrishna Manikandan                          };
4254dbe55c9SKrishna Manikandan                  };
4264dbe55c9SKrishna Manikandan           };
4274dbe55c9SKrishna Manikandan     };
4284dbe55c9SKrishna Manikandan...
429