arm64: dts: qcom: msm8992-libra: Add CPU regulators
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Sat, 19 Mar 2022 17:46:32 +0000 (18:46 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 13 Apr 2022 03:07:12 +0000 (22:07 -0500)
Specify CPU regulator voltages for both VDD_APC rails.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220319174645.340379-3-konrad.dybcio@somainline.org
arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts

index 84558ab5fe86b4a2be25ab246d129cafde5aec94..6371719aacc581d5b6137336fb804a7f0df0cae1 100644 (file)
        no-map;
 };
 
+&pm8994_spmi_regulators {
+       VDD_APC0: s8 {
+               regulator-min-microvolt = <680000>;
+               regulator-max-microvolt = <1180000>;
+               regulator-always-on;
+               regulator-boot-on;
+       };
+
+       /* APC1 is 3-phase, but quoting downstream, s11 is "the gang leader" */
+       VDD_APC1: s11 {
+               regulator-min-microvolt = <700000>;
+               regulator-max-microvolt = <1225000>;
+               regulator-always-on;
+               regulator-boot-on;
+       };
+};
+
 &rpm_requests {
        pm8994-regulators {
                compatible = "qcom,rpm-pm8994-regulators";