2021-04-20 16:51:03

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH 01/11] ARM: dts: exynos: enable PMIC wakeup from suspend on Itop Core

The RTC on S5M8767 PMIC can wakeup the system from suspend to RAM.
Add a generic property for this.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi b/arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi
index 4583d342af39..b3726d4d7d93 100644
--- a/arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi
+++ b/arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi
@@ -163,6 +163,7 @@ s5m8767: pmic@66 {
<1025000>, <950000>,
<918750>, <900000>,
<875000>, <831250>;
+ wakeup-source;

regulators {
ldo1_reg: LDO1 {
--
2.25.1


2021-04-20 16:51:25

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH 08/11] ARM: dts: exynos: enable PMIC wakeup from suspend on Arndale Octa

The RTC on S2MPS11 PMIC can wakeup the system from suspend to RAM.
Add a generic property for this.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
arch/arm/boot/dts/exynos5420-arndale-octa.dts | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
index 1aad4859c5f1..dfc7f14f5772 100644
--- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts
+++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
@@ -352,6 +352,7 @@ pmic@66 {
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&s2mps11_irq>;
+ wakeup-source;

s2mps11_osc: clocks {
compatible = "samsung,s2mps11-clk";
--
2.25.1

2021-04-20 16:51:31

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH 09/11] ARM: dts: exynos: enable PMIC wakeup from suspend on SMDK5420

The RTC on S2MPS11 PMIC can wakeup the system from suspend to RAM.
Add a generic property for this.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
arch/arm/boot/dts/exynos5420-smdk5420.dts | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
index d506da9fa661..a4f0e3ffedbd 100644
--- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
+++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
@@ -132,6 +132,7 @@ &hsi2c_4 {
pmic@66 {
compatible = "samsung,s2mps11-pmic";
reg = <0x66>;
+ wakeup-source;

s2mps11_osc: clocks {
compatible = "samsung,s2mps11-clk";
--
2.25.1

2021-04-20 16:51:32

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH 10/11] ARM: dts: exynos: enable PMIC wakeup from suspend on Odroid XU3/XU4 family

The RTC on S2MPS11 PMIC on Odroid XU3/XU4 family of boards can wakeup
the system from suspend to RAM. Add a generic property for this.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi
index 6d690b1db099..e7958dbecfd2 100644
--- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi
+++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi
@@ -512,6 +512,7 @@ pmic@66 {
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&s2mps11_irq>;
+ wakeup-source;

s2mps11_osc: clocks {
compatible = "samsung,s2mps11-clk";
--
2.25.1

2021-04-20 16:51:38

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH 07/11] ARM: dts: exynos: enable PMIC wakeup from suspend on P4 Note

The RTC on Maxim max77686 PMIC can wakeup the system from suspend to
RAM. Add a generic property for this.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
arch/arm/boot/dts/exynos4412-p4note.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/exynos4412-p4note.dtsi b/arch/arm/boot/dts/exynos4412-p4note.dtsi
index 9e750890edb8..22c3086e0076 100644
--- a/arch/arm/boot/dts/exynos4412-p4note.dtsi
+++ b/arch/arm/boot/dts/exynos4412-p4note.dtsi
@@ -325,6 +325,7 @@ max77686: pmic@9 {
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
pinctrl-0 = <&max77686_irq>;
pinctrl-names = "default";
+ wakeup-source;
reg = <0x09>;
#clock-cells = <1>;

--
2.25.1

2021-04-20 16:52:40

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH 11/11] arm64: dts: exynos: enable PMIC wakeup from suspend on TM2

The RTC on S2MPS13 PMIC can wakeup the system from suspend to RAM.
Add a generic property for this.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
index 773d9abe3a44..cbcc01a66aab 100644
--- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
@@ -391,6 +391,7 @@ pmic@66 {
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
reg = <0x66>;
samsung,s2mps11-wrstbi-ground;
+ wakeup-source;

s2mps13_osc: clocks {
compatible = "samsung,s2mps13-clk";
--
2.25.1

2021-05-11 12:47:43

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 01/11] ARM: dts: exynos: enable PMIC wakeup from suspend on Itop Core

On Tue, 20 Apr 2021 18:49:33 +0200, Krzysztof Kozlowski wrote:
> The RTC on S5M8767 PMIC can wakeup the system from suspend to RAM.
> Add a generic property for this.

Applied, thanks!

[01/11] ARM: dts: exynos: enable PMIC wakeup from suspend on Itop Core
commit: a1972739c01612adee6bb0a0306ea29be0bb4955
[02/11] ARM: dts: exynos: enable PMIC wakeup from suspend on Origen4412
commit: 765210e19859fcd83dad26441a5c499c0fe27e28
[03/11] ARM: dts: exynos: enable PMIC wakeup from suspend on Arndale
commit: 0272619bde229386edf9f1358470e265628d1653
[04/11] ARM: dts: exynos: enable PMIC wakeup from suspend on Odroid XU
commit: 760ebb8a2529f92f772424c7ddc385a07a9e90a0
[05/11] ARM: dts: exynos: enable PMIC wakeup from suspend on Midas
commit: 7f23ea1265c3dc2cd5824f67498078fa23ede782
[06/11] ARM: dts: exynos: enable PMIC wakeup from suspend on Odroid X/U3
commit: 1178f7127a4679db9b70eb16737627f764d7a9c5
[07/11] ARM: dts: exynos: enable PMIC wakeup from suspend on P4 Note
commit: 9614ae53753003e7a4ecf800db3da189c0f0acd5
[08/11] ARM: dts: exynos: enable PMIC wakeup from suspend on Arndale Octa
commit: 1d4203b1fa02fca97ca97484f2a43da187112ad1
[09/11] ARM: dts: exynos: enable PMIC wakeup from suspend on SMDK5420
commit: a145cc05cb2ccbdde2621c91c7d56c3435d3a125
[10/11] ARM: dts: exynos: enable PMIC wakeup from suspend on Odroid XU3/XU4 family
commit: e4c9b60b271ce428d97577502be9393bdc46dd94
[11/11] arm64: dts: exynos: enable PMIC wakeup from suspend on TM2
commit: d3f713e6b3ccb1bf8306aaff8b11fd30844db0cf

Best regards,
--
Krzysztof Kozlowski <[email protected]>