Skip to contentSkip to conversation

arm64: dts: qcom: pms405: add spmi regulators

PATCH In review Vinod Koul 2 participants 3 messages Mar 26, 2019 – Mar 27, 2019

Subsystems (3)
lore
Share & tools
lore

Vinod Koul

author
#0 lore raw

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.

---
 arch/arm64/boot/dts/qcom/pms405.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/qcom/pms405.dtsi +11 -0
index 1bb836d1e8aa..701cff8bf0cd 100644
@@ -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
author
#1 lore raw

PATCH v2 2/2 arm64: dts: qcom: qcs404-evb: add spmi regulators

From: Jorge Ramirez-Ortiz <[email protected]>

Define the EVB pms405_s3 supplies.

---
 arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +12 -0
index e794ac68b7fa..c6987029ed5e 100644
@@ -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
#2 lore raw
In reply to Vinod Koul
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.

---

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
index 1bb836d1e8aa..701cff8bf0cd 100644
@@ -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