@@ -448,6 +448,10 @@ ldo1_reg: LDO1 {
ldo2_reg: LDO2 {
regulator-name = "ldo2";
regulator-always-on;
+
+ regulator-state-mem {
+ regulator-off-in-suspend;
+ };
};
/* WM8994 audio */
@@ -457,10 +461,6 @@ ldo3_reg: LDO3 {
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
-
- regulator-state-mem {
- regulator-on-in-suspend;
- };
};
ldo4_reg: LDO4 {
@@ -472,20 +472,24 @@ ldo5_reg: LDO5 {
regulator-name = "VCC_1.8V_IO";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
-
- regulator-state-mem {
- regulator-off-in-suspend;
- };
};
ldo6_reg: LDO6 {
regulator-name = "ldo6";
regulator-always-on;
+
+ regulator-state-mem {
+ regulator-off-in-suspend;
+ };
};
ldo7_reg: LDO7 {
regulator-name = "ldo7";
regulator-always-on;
+
+ regulator-state-mem {
+ regulator-off-in-suspend;
+ };
};
/* CSI IP block */
@@ -506,10 +510,6 @@ ldo9_reg: LDO9 {
regulator-name = "VLED_IC_1.9V";
regulator-min-microvolt = <1950000>;
regulator-max-microvolt = <1950000>;
-
- regulator-state-mem {
- regulator-off-in-suspend;
- };
};
/* CSI IP block */
The MAX77686 PMCI is able to power down and up key core supplies and other voltage rails via PWRREQ signal to enter / exit (deep) sleep mode. PWRREQ status is ignored during initial power up and down processes. All programming must be done before the AP enterns the sleep mode by pulling PWRREQ low since the AP does not have programming capability in (deep) sleep mode. Update few regulator node with support suspend-to-mem node to regulator. dropped suspend-to-mem as MAX77686 do not support these. Regulators which can be turned off during system suspend: -LDOn : 2, 6-8, 10-12, 14-16, -BUCKn : 1-4. Use standard regulator bindings for it ('regulator-off-in-suspend'). Signed-off-by: Anand Moon <linux.amoon@gmail.com> --- .../boot/dts/samsung/exynos4412-p4note.dtsi | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-)