ARM: dts: rockchip: correct regulator power states for suspend
authorBrian Norris <briannorris@chromium.org>
Wed, 19 Aug 2015 22:18:41 +0000 (15:18 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 20 Aug 2015 23:40:35 +0000 (01:40 +0200)
When getting translated from a downstream device tree that used slightly
different DT bindings, these regulators got labeled with the
"on-in-suspend" state, when they were actually supposed to be turned off
for S3 suspend. This was harmless, but not intentional, AFAICT.

Let's turn them off to get the optimal power state.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-veyron-jerry.dts
arch/arm/boot/dts/rk3288-veyron-pinky.dts
arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi

index 42d7245..60bd6e9 100644 (file)
@@ -99,7 +99,7 @@
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <1800000>;
                        regulator-state-mem {
-                               regulator-on-in-suspend;
+                               regulator-off-in-suspend;
                        };
                };
        };
index 25eb4b0..94b56e3 100644 (file)
                        regulator-boot-on;
                        regulator-name = "vcc18_lcd";
                        regulator-state-mem {
-                               regulator-on-in-suspend;
+                               regulator-off-in-suspend;
                        };
                };
        };
index 788468a..b5334ec 100644 (file)
@@ -93,7 +93,7 @@
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        regulator-state-mem {
-                               regulator-on-in-suspend;
+                               regulator-off-in-suspend;
                        };
                };
 
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        regulator-state-mem {
-                               regulator-on-in-suspend;
+                               regulator-off-in-suspend;
                        };
                };
        };