arm/dt: msm8226: Add an S1 corner regulator and consumer-supplies entries
The MSM8226 clock driver needs to vote for the regulators that
control the CX and SR2 PLL power rails. This driver does not
employ the device tree; therefore, add the consumer-supplies
property to the corresponding regulator entries.
The clock driver uses corner voting on the S1 regulator. Add
a stub regulator to allow for this.
Change-Id: Ib011a73377d997a03dc5b8be218ba1696dabe1ad
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
diff --git a/arch/arm/boot/dts/msm8226-regulator.dtsi b/arch/arm/boot/dts/msm8226-regulator.dtsi
index 8fe94a5..f2269d5 100644
--- a/arch/arm/boot/dts/msm8226-regulator.dtsi
+++ b/arch/arm/boot/dts/msm8226-regulator.dtsi
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -21,6 +21,15 @@
regulator-max-microvolt = <1150000>;
};
+ pm8026_s1_corner: regulator-s1-corner {
+ compatible = "qcom,stub-regulator";
+ regulator-name = "8026_s1_corner";
+ qcom,hpm-min-load = <100000>;
+ regulator-min-microvolt = <1>;
+ regulator-max-microvolt = <7>;
+ qcom,consumer-supplies = "vdd_dig", "";
+ };
+
pm8026_s2: regulator-s2 {
compatible = "qcom,stub-regulator";
regulator-name = "8026_s2";
@@ -123,6 +132,7 @@
qcom,hpm-min-load = <5000>;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
+ qcom,consumer-supplies = "vdd_sr2_pll", "";
};
pm8026_l9: regulator-l9 {