Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1460178 > unrolled thread

[RESEND PATCH 0/3] ARM: dts: Enable suspend configuration

Started byKeerthy <j-keerthy@ti.com>
First post2016-08-11 07:30 +0200
Last post2016-08-23 06:40 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [RESEND PATCH 0/3] ARM: dts: Enable suspend configuration  Keerthy <j-keerthy@ti.com> - 2016-08-11 07:30 +0200
    [RESEND PATCH 1/3] ARM: dts: AM437X-GP-EVM: AM437X-SK-EVM: Make dcdc3 dcdc5 and dcdc6 enable during suspend Keerthy <j-keerthy@ti.com> - 2016-08-11 07:30 +0200
    [RESEND PATCH 3/3] ARM: dts: am437x-sk-evm: disable DDR regulator in rtc-only/poweroff mode Keerthy <j-keerthy@ti.com> - 2016-08-11 07:30 +0200
    Re: [RESEND PATCH 0/3] ARM: dts: Enable suspend configuration Keerthy <a0393675@ti.com> - 2016-08-23 06:40 +0200

#1460178 — [RESEND PATCH 0/3] ARM: dts: Enable suspend configuration

FromKeerthy <j-keerthy@ti.com>
Date2016-08-11 07:30 +0200
Subject[RESEND PATCH 0/3] ARM: dts: Enable suspend configuration
Message-ID<s4QJ3-75c-9@gated-at.bofh.it>
Now that https://lkml.org/lkml/2016/8/10/243 series is in. 
Here is the set of Device Tree patches which were dependent on
the driver patches.

These are boot tested on am437x-gp-evm.

Keerthy (1):
  ARM: dts: AM437X-GP-EVM: AM437X-SK-EVM: Make dcdc3 dcdc5 and dcdc6
    enable during suspend

Tero Kristo (2):
  ARM: dts: am437x-gp-evm: disable DDR regulator in rtc-only/poweroff
    mode
  ARM: dts: am437x-sk-evm: disable DDR regulator in rtc-only/poweroff
    mode

 arch/arm/boot/dts/am437x-gp-evm.dts | 13 +++++++++++++
 arch/arm/boot/dts/am437x-sk-evm.dts | 30 ++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

-- 
1.9.1

[toc] | [next] | [standalone]


#1460179 — [RESEND PATCH 1/3] ARM: dts: AM437X-GP-EVM: AM437X-SK-EVM: Make dcdc3 dcdc5 and dcdc6 enable during suspend

FromKeerthy <j-keerthy@ti.com>
Date2016-08-11 07:30 +0200
Subject[RESEND PATCH 1/3] ARM: dts: AM437X-GP-EVM: AM437X-SK-EVM: Make dcdc3 dcdc5 and dcdc6 enable during suspend
Message-ID<s4QJ4-75c-21@gated-at.bofh.it>
In reply to#1460178
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>
---
 arch/arm/boot/dts/am437x-gp-evm.dts | 10 ++++++++++
 arch/arm/boot/dts/am437x-sk-evm.dts | 27 +++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
index 14677d5..fba26c9 100644
--- a/arch/arm/boot/dts/am437x-gp-evm.dts
+++ b/arch/arm/boot/dts/am437x-gp-evm.dts
@@ -537,7 +537,11 @@
 			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";
@@ -545,6 +549,9 @@
 			regulator-max-microvolt = <1000000>;
 			regulator-boot-on;
 			regulator-always-on;
+			regulator-state-mem {
+				regulator-on-in-suspend;
+			};
 		};
 
 		dcdc6: regulator-dcdc6 {
@@ -554,6 +561,9 @@
 			regulator-max-microvolt = <1800000>;
 			regulator-boot-on;
 			regulator-always-on;
+			regulator-state-mem {
+				regulator-on-in-suspend;
+			};
 		};
 
 		ldo1: regulator-ldo1 {
diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts b/arch/arm/boot/dts/am437x-sk-evm.dts
index 5687d6b..b5e84e6 100644
--- a/arch/arm/boot/dts/am437x-sk-evm.dts
+++ b/arch/arm/boot/dts/am437x-sk-evm.dts
@@ -454,6 +454,9 @@
 			regulator-max-microvolt = <1500000>;
 			regulator-boot-on;
 			regulator-always-on;
+			regulator-state-mem {
+				regulator-on-in-suspend;
+			};
 		};
 
 		dcdc4: regulator-dcdc4 {
@@ -465,6 +468,30 @@
 			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";
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1460180 — [RESEND PATCH 3/3] ARM: dts: am437x-sk-evm: disable DDR regulator in rtc-only/poweroff mode

FromKeerthy <j-keerthy@ti.com>
Date2016-08-11 07:30 +0200
Subject[RESEND PATCH 3/3] ARM: dts: am437x-sk-evm: disable DDR regulator in rtc-only/poweroff mode
Message-ID<s4QJ3-75c-7@gated-at.bofh.it>
In reply to#1460178
From: Tero Kristo <t-kristo@ti.com>

Without this, the memory will remain active during poweroff consuming
extra power. Please note revision 2.1 PMIC seems to fail when DCDC3
disable is attempted, so this is not done on that PMIC revision. The
PMIC revision checks in the regulator patches make sure of this.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
---
 arch/arm/boot/dts/am437x-sk-evm.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts b/arch/arm/boot/dts/am437x-sk-evm.dts
index b5e84e6..3af92b6 100644
--- a/arch/arm/boot/dts/am437x-sk-evm.dts
+++ b/arch/arm/boot/dts/am437x-sk-evm.dts
@@ -457,6 +457,9 @@
 			regulator-state-mem {
 				regulator-on-in-suspend;
 			};
+			regulator-state-disk {
+				regulator-off-in-suspend;
+			};
 		};
 
 		dcdc4: regulator-dcdc4 {
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1468269

FromKeerthy <a0393675@ti.com>
Date2016-08-23 06:40 +0200
Message-ID<s9bFf-7x5-13@gated-at.bofh.it>
In reply to#1460178
Tony,

On Thursday 11 August 2016 10:57 AM, Keerthy wrote:
> Now that https://lkml.org/lkml/2016/8/10/243 series is in.
> Here is the set of Device Tree patches which were dependent on
> the driver patches.
>

Could you please pull this set if there are no further comments. All the 
driver dependencies are picked by Mark already.

> These are boot tested on am437x-gp-evm.
>
> Keerthy (1):
>   ARM: dts: AM437X-GP-EVM: AM437X-SK-EVM: Make dcdc3 dcdc5 and dcdc6
>     enable during suspend
>
> Tero Kristo (2):
>   ARM: dts: am437x-gp-evm: disable DDR regulator in rtc-only/poweroff
>     mode
>   ARM: dts: am437x-sk-evm: disable DDR regulator in rtc-only/poweroff
>     mode
>
>  arch/arm/boot/dts/am437x-gp-evm.dts | 13 +++++++++++++
>  arch/arm/boot/dts/am437x-sk-evm.dts | 30 ++++++++++++++++++++++++++++++
>  2 files changed, 43 insertions(+)
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web