Skip to content

Commit 56e07c0

Browse files
krzkandersson
authored andcommitted
dt-bindings: soc: qcom: smd-rpm: extend example
Replace existing limited example with proper code for Qualcomm Resource Power Manager (RPM) over SMD based on MSM8916. This also fixes the example's indentation. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 568f83f commit 56e07c0

File tree

1 file changed

+27
-6
lines changed

1 file changed

+27
-6
lines changed

Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,33 @@ examples:
8888
qcom,ipc = <&apcs 8 0>;
8989
qcom,smd-edge = <15>;
9090
91-
rpm-requests {
92-
compatible = "qcom,rpm-msm8974";
93-
qcom,smd-channels = "rpm_requests";
91+
rpm-requests {
92+
compatible = "qcom,rpm-msm8916";
93+
qcom,smd-channels = "rpm_requests";
94+
95+
clock-controller {
96+
compatible = "qcom,rpmcc-msm8916", "qcom,rpmcc";
97+
#clock-cells = <1>;
98+
clocks = <&xo_board>;
99+
clock-names = "xo";
100+
};
94101
95-
/* Regulator nodes to follow */
102+
power-controller {
103+
compatible = "qcom,msm8916-rpmpd";
104+
#power-domain-cells = <1>;
105+
operating-points-v2 = <&rpmpd_opp_table>;
106+
107+
rpmpd_opp_table: opp-table {
108+
compatible = "operating-points-v2";
109+
110+
opp-1 {
111+
opp-level = <1>;
112+
};
113+
opp-2 {
114+
opp-level = <2>;
115+
};
116+
};
96117
};
97118
};
98-
};
99-
...
119+
};
120+
};

0 commit comments

Comments
 (0)