Skip to content

Commit 378cc1b

Browse files
lumagandersson
authored andcommitted
ARM: dts: qcom: msm8960: declare SAW2 regulators
The SAW2 (SPM and AVS Wrapper) among other things is yet another way to handle CPU-related PMIC regulators. Provide a way to control voltage of these regulators. Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20240102-saw2-spm-regulator-v7-18-0472ec237f49@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 8937688 commit 378cc1b

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

arch/arm/boot/dts/qcom/qcom-msm8960.dtsi

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,13 +223,21 @@
223223
saw0: power-manager@2089000 {
224224
compatible = "qcom,msm8960-saw2-cpu", "qcom,saw2";
225225
reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
226-
regulator;
226+
227+
saw0_vreg: regulator {
228+
regulator-min-microvolt = <850000>;
229+
regulator-max-microvolt = <1300000>;
230+
};
227231
};
228232

229233
saw1: power-manager@2099000 {
230234
compatible = "qcom,msm8960-saw2-cpu", "qcom,saw2";
231235
reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
232-
regulator;
236+
237+
saw1_vreg: regulator {
238+
regulator-min-microvolt = <850000>;
239+
regulator-max-microvolt = <1300000>;
240+
};
233241
};
234242

235243
gsbi5: gsbi@16400000 {

0 commit comments

Comments
 (0)