ARM: dts: qcom: msm8226: add power domains

Add a node for the power domain controller found in MSM8226.

At the same time remove any existing usages of pm8226_s1 as this
regulator is now handled by power domains.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220220223004.507739-3-luca@z3ntu.xyz
This commit is contained in:
Luca Weiss 2022-02-20 23:30:03 +01:00 committed by Bjorn Andersson
parent e8880a10f9
commit 1345536251
2 changed files with 29 additions and 4 deletions

View File

@ -105,10 +105,6 @@
pm8226-regulators { pm8226-regulators {
compatible = "qcom,rpm-pm8226-regulators"; compatible = "qcom,rpm-pm8226-regulators";
pm8226_s1: s1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1275000>;
};
pm8226_s3: s3 { pm8226_s3: s3 {
regulator-min-microvolt = <1200000>; regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1350000>; regulator-max-microvolt = <1350000>;

View File

@ -73,6 +73,35 @@
rpm_requests: rpm-requests { rpm_requests: rpm-requests {
compatible = "qcom,rpm-msm8226"; compatible = "qcom,rpm-msm8226";
qcom,smd-channels = "rpm_requests"; qcom,smd-channels = "rpm_requests";
rpmpd: power-controller {
compatible = "qcom,msm8226-rpmpd";
#power-domain-cells = <1>;
operating-points-v2 = <&rpmpd_opp_table>;
rpmpd_opp_table: opp-table {
compatible = "operating-points-v2";
rpmpd_opp_ret: opp1 {
opp-level = <1>;
};
rpmpd_opp_svs_krait: opp2 {
opp-level = <2>;
};
rpmpd_opp_svs_soc: opp3 {
opp-level = <3>;
};
rpmpd_opp_nom: opp4 {
opp-level = <4>;
};
rpmpd_opp_turbo: opp5 {
opp-level = <5>;
};
rpmpd_opp_super_turbo: opp6 {
opp-level = <6>;
};
};
};
}; };
}; };
}; };