arm64: dts: qcom: pms405: add spmi regulators
PATCH v2 1/2 arm64: dts: qcom: pms405: add spmi regulators
From: Jorge Ramirez-Ortiz <[email protected]>
The PMS405 sports 5 SMPS and 13 LDO regulators, add the regulators to pms405 DTS.
Signed-off-by Jorge Ramirez-Ortiz <[email protected]>
Signed-off-by Khasim Syed Mohammed <[email protected]>
Signed-off-by Vinod Koul <[email protected]>
--- arch/arm64/boot/dts/qcom/pms405.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/qcom/pms405.dtsi +11 -0
@@ -131,4 +131,15 @@ interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>; }; }; + + pms405_1: pms405@1 { + compatible = "qcom,spmi-pmic"; + reg = <0x1 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pms_regulators: regulators { + compatible = "qcom,pms405-regulators"; + }; + }; };
Signature · 1 line
2.20.1
PATCH v2 2/2 arm64: dts: qcom: qcs404-evb: add spmi regulators
From: Jorge Ramirez-Ortiz <[email protected]>
Define the EVB pms405_s3 supplies.
Signed-off-by Jorge Ramirez-Ortiz <[email protected]>
Signed-off-by Khasim Syed Mohammed <[email protected]>
Signed-off-by Vinod Koul <[email protected]>
--- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +12 -0
@@ -48,6 +48,18 @@ }; }; +&pms_regulators { + vdd_s3-supply = <&pms405_s3>; + + pms405_s3: s3 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vdd_apc"; + regulator-min-microvolt = <1048000>; + regulator-max-microvolt = <1352000>; + }; +}; + &remoteproc_adsp { status = "ok"; };
Signature · 1 line
2.20.1
Quoted 9 lines · Vinod Koul
From: Jorge Ramirez-Ortiz <[email protected]>
The PMS405 sports 5 SMPS and 13 LDO regulators, add the regulators to pms405 DTS.
Signed-off-by Jorge Ramirez-Ortiz <[email protected]>Signed-off-by Khasim Syed Mohammed <[email protected]>Signed-off-by Vinod Koul <[email protected]>---
Applied the pair.
Thanks,
Bjorn
Quoted 26 lines
arch/arm64/boot/dts/qcom/pms405.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)arch/arm64/boot/dts/qcom/pms405.dtsi +11
-0@@ -131,4 +131,15 @@ interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>; }; }; + + pms405_1: pms405@1 { + compatible = "qcom,spmi-pmic"; + reg = <0x1 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pms_regulators: regulators { + compatible = "qcom,pms405-regulators"; + }; + }; };Signature · 1 line
2.20.1