Lines Matching +full:opp +full:- +full:v2

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <andersson@kernel.org>
19 - enum:
20 - qcom,mdm9607-rpmpd
21 - qcom,msm8226-rpmpd
22 - qcom,msm8909-rpmpd
23 - qcom,msm8916-rpmpd
24 - qcom,msm8917-rpmpd
25 - qcom,msm8939-rpmpd
26 - qcom,msm8953-rpmpd
27 - qcom,msm8976-rpmpd
28 - qcom,msm8994-rpmpd
29 - qcom,msm8996-rpmpd
30 - qcom,msm8998-rpmpd
31 - qcom,qcm2290-rpmpd
32 - qcom,qcs404-rpmpd
33 - qcom,qdu1000-rpmhpd
34 - qcom,qm215-rpmpd
35 - qcom,sa8155p-rpmhpd
36 - qcom,sa8540p-rpmhpd
37 - qcom,sa8775p-rpmhpd
38 - qcom,sc7180-rpmhpd
39 - qcom,sc7280-rpmhpd
40 - qcom,sc8180x-rpmhpd
41 - qcom,sc8280xp-rpmhpd
42 - qcom,sdm660-rpmpd
43 - qcom,sdm670-rpmhpd
44 - qcom,sdm845-rpmhpd
45 - qcom,sdx55-rpmhpd
46 - qcom,sdx65-rpmhpd
47 - qcom,sdx75-rpmhpd
48 - qcom,sm6115-rpmpd
49 - qcom,sm6125-rpmpd
50 - qcom,sm6350-rpmhpd
51 - qcom,sm6375-rpmpd
52 - qcom,sm7150-rpmhpd
53 - qcom,sm8150-rpmhpd
54 - qcom,sm8250-rpmhpd
55 - qcom,sm8350-rpmhpd
56 - qcom,sm8450-rpmhpd
57 - qcom,sm8550-rpmhpd
58 - qcom,sm8650-rpmhpd
59 - qcom,x1e80100-rpmhpd
60 - items:
61 - enum:
62 - qcom,msm8937-rpmpd
63 - const: qcom,msm8917-rpmpd
65 '#power-domain-cells':
68 operating-points-v2: true
70 opp-table:
74 - compatible
75 - '#power-domain-cells'
76 - operating-points-v2
81 - |
83 // Example 1 (rpmh power domain controller and OPP table):
85 #include <dt-bindings/power/qcom-rpmpd.h>
87 rpmhpd: power-controller {
88 compatible = "qcom,sdm845-rpmhpd";
89 #power-domain-cells = <1>;
90 operating-points-v2 = <&rpmhpd_opp_table>;
92 rpmhpd_opp_table: opp-table {
93 compatible = "operating-points-v2";
96 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
100 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
104 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
108 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
112 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
116 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
120 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
124 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
128 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
132 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
137 - |
139 // Example 2 (rpm power domain controller and OPP table):
141 rpmpd: power-controller {
142 compatible = "qcom,msm8996-rpmpd";
143 #power-domain-cells = <1>;
144 operating-points-v2 = <&rpmpd_opp_table>;
146 rpmpd_opp_table: opp-table {
147 compatible = "operating-points-v2";
150 opp-level = <1>;
154 opp-level = <2>;
158 opp-level = <3>;
162 opp-level = <4>;
166 opp-level = <5>;
170 opp-level = <6>;
175 - |
177 // Example 3 (Client/Consumer device using OPP table):
179 leaky-device0@12350000 {
180 compatible = "foo,i-leak-current";
182 power-domains = <&rpmhpd 0>;
183 operating-points-v2 = <&leaky_opp_table>;
186 leaky_opp_table: opp-table {
187 compatible = "operating-points-v2";
189 opp-hz = /bits/ 64 <144000>;
190 required-opps = <&rpmhpd_opp_low>;
194 opp-hz = /bits/ 64 <400000>;
195 required-opps = <&rpmhpd_opp_ret>;
199 opp-hz = /bits/ 64 <20000000>;
200 required-opps = <&rpmpd_opp_svs>;
204 opp-hz = /bits/ 64 <25000000>;
205 required-opps = <&rpmpd_opp_normal>;