blob: 5e0c45c380f5d11f8f73ec558e2011daaafc178c [file] [log] [blame]
Tom Rini93743d22024-04-01 09:08:13 -04001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,sm8650-dispcc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Display Clock & Reset Controller for SM8650
8
9maintainers:
10 - Bjorn Andersson <andersson@kernel.org>
11 - Neil Armstrong <neil.armstrong@linaro.org>
12
13description: |
14 Qualcomm display clock control module provides the clocks, resets and power
15 domains on SM8650.
16
17 See also:: include/dt-bindings/clock/qcom,sm8650-dispcc.h
18
19properties:
20 compatible:
21 enum:
22 - qcom,sm8650-dispcc
23
24 clocks:
25 items:
26 - description: Board XO source
27 - description: Board Always On XO source
28 - description: Display's AHB clock
29 - description: sleep clock
30 - description: Byte clock from DSI PHY0
31 - description: Pixel clock from DSI PHY0
32 - description: Byte clock from DSI PHY1
33 - description: Pixel clock from DSI PHY1
34 - description: Link clock from DP PHY0
35 - description: VCO DIV clock from DP PHY0
36 - description: Link clock from DP PHY1
37 - description: VCO DIV clock from DP PHY1
38 - description: Link clock from DP PHY2
39 - description: VCO DIV clock from DP PHY2
40 - description: Link clock from DP PHY3
41 - description: VCO DIV clock from DP PHY3
42
43 '#clock-cells':
44 const: 1
45
46 '#reset-cells':
47 const: 1
48
49 '#power-domain-cells':
50 const: 1
51
52 reg:
53 maxItems: 1
54
55 power-domains:
56 description:
57 A phandle and PM domain specifier for the MMCX power domain.
58 maxItems: 1
59
60 required-opps:
61 description:
62 A phandle to an OPP node describing required MMCX performance point.
63 maxItems: 1
64
65required:
66 - compatible
67 - reg
68 - clocks
69 - '#clock-cells'
70 - '#reset-cells'
71 - '#power-domain-cells'
72
73additionalProperties: false
74
75examples:
76 - |
77 #include <dt-bindings/clock/qcom,sm8650-gcc.h>
78 #include <dt-bindings/clock/qcom,rpmh.h>
79 #include <dt-bindings/power/qcom-rpmpd.h>
80 #include <dt-bindings/power/qcom,rpmhpd.h>
81 clock-controller@af00000 {
82 compatible = "qcom,sm8650-dispcc";
83 reg = <0x0af00000 0x10000>;
84 clocks = <&rpmhcc RPMH_CXO_CLK>,
85 <&rpmhcc RPMH_CXO_CLK_A>,
86 <&gcc GCC_DISP_AHB_CLK>,
87 <&sleep_clk>,
88 <&dsi0_phy 0>,
89 <&dsi0_phy 1>,
90 <&dsi1_phy 0>,
91 <&dsi1_phy 1>,
92 <&dp0_phy 0>,
93 <&dp0_phy 1>,
94 <&dp1_phy 0>,
95 <&dp1_phy 1>,
96 <&dp2_phy 0>,
97 <&dp2_phy 1>,
98 <&dp3_phy 0>,
99 <&dp3_phy 1>;
100 #clock-cells = <1>;
101 #reset-cells = <1>;
102 #power-domain-cells = <1>;
103 power-domains = <&rpmhpd RPMHPD_MMCX>;
104 required-opps = <&rpmhpd_opp_low_svs>;
105 };
106...