arm64: dts: msm8996: Add rpmpd device node
authorRajendra Nayak <rnayak@codeaurora.org>
Thu, 10 Jan 2019 04:02:06 +0000 (09:32 +0530)
committerAndy Gross <andy.gross@linaro.org>
Fri, 25 Jan 2019 04:20:10 +0000 (22:20 -0600)
Add rpmpd device node and its OPP table

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/msm8996.dtsi

index 838e32c..6ba9691 100644 (file)
                                #clock-cells = <1>;
                        };
 
+                       rpmpd: power-controller {
+                               compatible = "qcom,msm8996-rpmpd";
+                               #power-domain-cells = <1>;
+                               operating-points-v2 = <&rpmpd_opp_table>;
+
+                               rpmpd_opp_table: opp-table {
+                                       compatible = "operating-points-v2";
+
+                                       rpmpd_opp1: opp1 {
+                                               opp-level = <1>;
+                                       };
+
+                                       rpmpd_opp2: opp2 {
+                                               opp-level = <2>;
+                                       };
+
+                                       rpmpd_opp3: opp3 {
+                                               opp-level = <3>;
+                                       };
+
+                                       rpmpd_opp4: opp4 {
+                                               opp-level = <4>;
+                                       };
+
+                                       rpmpd_opp5: opp5 {
+                                               opp-level = <5>;
+                                       };
+
+                                       rpmpd_opp6: opp6 {
+                                               opp-level = <6>;
+                                       };
+                               };
+                       };
+
                        pm8994-regulators {
                                compatible = "qcom,rpm-pm8994-regulators";