arm/dt: msm8226: Add active-set only and sleep-set only regulators for L8
LDO 8 powers the ACPU clock PLL on MSM8226. However, it is currently
configured as active+sleep. Since the sleep request is not
different, rpm-regulator-smd does not send it.
Fix this by adding active-set only and sleep-set only regulator
nodes for L8. Change the consumer mapping for the ACPU PLL supply such
that the new active-set only node is used instead of the old
active+sleep node.
Change-Id: Ie2d3d502b690545ce76ee1ee6720864039440b1a
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
diff --git a/arch/arm/boot/dts/msm8226-regulator.dtsi b/arch/arm/boot/dts/msm8226-regulator.dtsi
index f3b9779..7199ab7 100644
--- a/arch/arm/boot/dts/msm8226-regulator.dtsi
+++ b/arch/arm/boot/dts/msm8226-regulator.dtsi
@@ -224,8 +224,27 @@
regulator-max-microvolt = <1800000>;
qcom,init-voltage = <1800000>;
status = "okay";
+ };
+
+ pm8226_l8_ao: regulator-l8-ao {
+ compatible = "qcom,rpm-regulator-smd";
+ regulator-name = "8226_l8_ao";
+ qcom,set = <1>;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ qcom,init-voltage = <1800000>;
qcom,consumer-supplies = "vdd_sr2_pll", "";
};
+
+ pm8226_l8_so: regulator-l8-so {
+ compatible = "qcom,rpm-regulator-smd";
+ regulator-name = "8226_l8_so";
+ qcom,set = <2>;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ qcom,init-voltage = <1800000>;
+ qcom,init-enable = <0>;
+ };
};
rpm-regulator-ldoa9 {