arm/dt: msm8974: Add a fixed regulator device to represent VPH_PWR supply
Add a fixed regulator device to represent the unregulated VPH_PWR
supply. VPH_PWR corresponds to the voltage coming from the
battery and is present whenever the device is powered on. This
regulator may be used on boards where a supply may optionally be
tied to VPH_PWR.
Change-Id: I7272887a6556a8b091d62f90e83dfeacc1dc14f5
Signed-off-by: David Collins <collinsd@codeaurora.org>
diff --git a/arch/arm/boot/dts/msm8974-regulator.dtsi b/arch/arm/boot/dts/msm8974-regulator.dtsi
index b125138..05451671 100644
--- a/arch/arm/boot/dts/msm8974-regulator.dtsi
+++ b/arch/arm/boot/dts/msm8974-regulator.dtsi
@@ -520,4 +520,15 @@
gpio = <&pm8941_mpps 5 0>;
enable-active-high;
};
+
+ /*
+ * vph_pwr_vreg represents the unregulated battery voltage supply
+ * VPH_PWR that is present whenever the device is powered on.
+ */
+ vph_pwr_vreg: vph_pwr_vreg {
+ compatible = "regulator-fixed";
+ status = "disabled";
+ regulator-name = "vph_pwr";
+ regulator-always-on;
+ };
};