Skip to content

Commit 8937688

Browse files
lumagandersson
authored andcommitted
ARM: dts: qcom: apq8064: 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-17-0472ec237f49@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 04e354e commit 8937688

1 file changed

Lines changed: 20 additions & 4 deletions

File tree

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

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -368,25 +368,41 @@
368368
saw0: power-manager@2089000 {
369369
compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
370370
reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
371-
regulator;
371+
372+
saw0_vreg: regulator {
373+
regulator-min-microvolt = <850000>;
374+
regulator-max-microvolt = <1300000>;
375+
};
372376
};
373377

374378
saw1: power-manager@2099000 {
375379
compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
376380
reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
377-
regulator;
381+
382+
saw1_vreg: regulator {
383+
regulator-min-microvolt = <850000>;
384+
regulator-max-microvolt = <1300000>;
385+
};
378386
};
379387

380388
saw2: power-manager@20a9000 {
381389
compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
382390
reg = <0x020a9000 0x1000>, <0x02009000 0x1000>;
383-
regulator;
391+
392+
saw2_vreg: regulator {
393+
regulator-min-microvolt = <850000>;
394+
regulator-max-microvolt = <1300000>;
395+
};
384396
};
385397

386398
saw3: power-manager@20b9000 {
387399
compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
388400
reg = <0x020b9000 0x1000>, <0x02009000 0x1000>;
389-
regulator;
401+
402+
saw3_vreg: regulator {
403+
regulator-min-microvolt = <850000>;
404+
regulator-max-microvolt = <1300000>;
405+
};
390406
};
391407

392408
sps_sic_non_secure: sps-sic-non-secure@12100000 {

0 commit comments

Comments
 (0)