ARM: dts: AM437X-GP-EVM: AM437X-SK-EVM: Make dcdc3 dcdc5 and dcdc6 enable during...
authorKeerthy <j-keerthy@ti.com>
Thu, 11 Aug 2016 05:27:48 +0000 (10:57 +0530)
committerTony Lindgren <tony@atomide.com>
Fri, 26 Aug 2016 14:47:23 +0000 (07:47 -0700)
dcdc3, dcdc5, dcdc6 supply ddr and rtc respectively. These
are required to be on during suspend. Hence set the state accordingly.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am437x-gp-evm.dts
arch/arm/boot/dts/am437x-sk-evm.dts

index 128dbef..94122de 100644 (file)
                        regulator-max-microvolt = <1500000>;
                        regulator-boot-on;
                        regulator-always-on;
+                       regulator-state-mem {
+                               regulator-on-in-suspend;
+                       };
                };
+
                dcdc5: regulator-dcdc5 {
                        compatible = "ti,tps65218-dcdc5";
                        regulator-name = "v1_0bat";
                        regulator-max-microvolt = <1000000>;
                        regulator-boot-on;
                        regulator-always-on;
+                       regulator-state-mem {
+                               regulator-on-in-suspend;
+                       };
                };
 
                dcdc6: regulator-dcdc6 {
                        regulator-max-microvolt = <1800000>;
                        regulator-boot-on;
                        regulator-always-on;
+                       regulator-state-mem {
+                               regulator-on-in-suspend;
+                       };
                };
 
                ldo1: regulator-ldo1 {
index 23e7c9e..4440b68 100644 (file)
                        regulator-max-microvolt = <1500000>;
                        regulator-boot-on;
                        regulator-always-on;
+                       regulator-state-mem {
+                               regulator-on-in-suspend;
+                       };
                };
 
                dcdc4: regulator-dcdc4 {
                        regulator-always-on;
                };
 
+               dcdc5: regulator-dcdc5 {
+                       compatible = "ti,tps65218-dcdc5";
+                       regulator-name = "v1_0bat";
+                       regulator-min-microvolt = <1000000>;
+                       regulator-max-microvolt = <1000000>;
+                       regulator-boot-on;
+                       regulator-always-on;
+                       regulator-state-mem {
+                               regulator-on-in-suspend;
+                       };
+               };
+
+               dcdc6: regulator-dcdc6 {
+                       compatible = "ti,tps65218-dcdc6";
+                       regulator-name = "v1_8bat";
+                       regulator-min-microvolt = <1800000>;
+                       regulator-max-microvolt = <1800000>;
+                       regulator-boot-on;
+                       regulator-always-on;
+                       regulator-state-mem {
+                               regulator-on-in-suspend;
+                       };
+               };
+
                ldo1: regulator-ldo1 {
                        compatible = "ti,tps65218-ldo1";
                        regulator-name = "v1_8d";