linux-amlogic.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes
@ 2019-08-29 15:23 Neil Armstrong
  2019-08-29 15:23 ` [PATCH 01/15] arm64: dts: meson-g12a-sei510: add keep-power-in-suspend property in SDIO node Neil Armstrong
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi SDIO firmwares requires power to be kept while entering a system
wide suspend state to keep current connection state and eventually wake up
on packet reception/new AP connection, thus add the keep-power-in-suspend in
each boards enabling SDIO.

For the record, drivers requires it are :
- brcmfmac: drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c line 1125
- mwifiex: drivers/net/wireless/marvell/mwifiex/sdio.c line 426
- libertas: drivers/net/wireless/marvell/libertas/if_sdio.c line 1327
- wl1271: drivers/net/wireless/ti/wlcore/sdio.c line 411
and bcmdhd out-of-tree driver.

Neil Armstrong (15):
  arm64: dts: meson-g12a-sei510: add keep-power-in-suspend property in
    SDIO node
  arm64: dts: meson-g12a-x96-max: add keep-power-in-suspend property in
    SDIO node
  arm64: dts: meson-g12b-khadas-vim3: add keep-power-in-suspend property
    in SDIO node
  arm64: dts: meson-gx-p23x-q20x: add keep-power-in-suspend property in
    SDIO node
  arm64: dts: meson-gxbb-nanopi-k2: add keep-power-in-suspend property
    in SDIO node
  arm64: dts: meson-gxbb-nexbox-a95x: add keep-power-in-suspend property
    in SDIO node
  arm64: dts: meson-gxbb-p20x: add keep-power-in-suspend property in
    SDIO node
  arm64: dts: meson-gxbb-vega-s95: add keep-power-in-suspend property in
    SDIO node
  arm64: dts: meson-gxbb-wetek: add keep-power-in-suspend property in
    SDIO node
  arm64: dts: meson-gxl-s805x-p241: add keep-power-in-suspend property
    in SDIO node
  arm64: dts: meson-gxl-s905x-nexbox-a95x: add keep-power-in-suspend
    property in SDIO node
  arm64: dts: meson-gxl-s905x-p212: add keep-power-in-suspend property
    in SDIO node
  arm64: dts: meson-gxm-khadas-vim2: add keep-power-in-suspend property
    in SDIO node
  arm64: dts: meson-gxm-rbox-pro: add keep-power-in-suspend property in
    SDIO node
  arm64: dts: meson-sm1-sei610: add keep-power-in-suspend property in
    SDIO node

 arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts           | 3 +++
 arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts          | 3 +++
 arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi     | 3 +++
 arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi         | 3 +++
 arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts        | 3 +++
 arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts      | 3 +++
 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi            | 3 +++
 arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi        | 3 +++
 arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi           | 3 +++
 arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts        | 3 +++
 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts | 3 +++
 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi       | 3 +++
 arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts       | 3 +++
 arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts          | 3 +++
 arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts            | 3 +++
 15 files changed, 45 insertions(+)

-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH 01/15] arm64: dts: meson-g12a-sei510: add keep-power-in-suspend property in SDIO node
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
@ 2019-08-29 15:23 ` Neil Armstrong
  2019-08-29 15:23 ` [PATCH 02/15] arm64: dts: meson-g12a-x96-max: " Neil Armstrong
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi firmware requires that the power is kept enabled while in
suspend mode. Add the keep-power-in-suspend property in the SDIO node
to specify that the power must be kept when entering in a system wide
suspend state.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts
index 35d2ebbd6d4e..b31502727d4a 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts
@@ -508,6 +508,9 @@
 	non-removable;
 	disable-wp;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	mmc-pwrseq = <&sdio_pwrseq>;
 
 	vmmc-supply = <&vddao_3v3>;
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 02/15] arm64: dts: meson-g12a-x96-max: add keep-power-in-suspend property in SDIO node
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
  2019-08-29 15:23 ` [PATCH 01/15] arm64: dts: meson-g12a-sei510: add keep-power-in-suspend property in SDIO node Neil Armstrong
@ 2019-08-29 15:23 ` Neil Armstrong
  2019-08-29 15:23 ` [PATCH 03/15] arm64: dts: meson-g12b-khadas-vim3: " Neil Armstrong
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi firmware requires that the power is kept enabled while in
suspend mode. Add the keep-power-in-suspend property in the SDIO node
to specify that the power must be kept when entering in a system wide
suspend state.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts
index 17155fb73fce..4f2596d82989 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts
@@ -409,6 +409,9 @@
 	non-removable;
 	disable-wp;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	mmc-pwrseq = <&sdio_pwrseq>;
 
 	vmmc-supply = <&vddao_3v3>;
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 03/15] arm64: dts: meson-g12b-khadas-vim3: add keep-power-in-suspend property in SDIO node
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
  2019-08-29 15:23 ` [PATCH 01/15] arm64: dts: meson-g12a-sei510: add keep-power-in-suspend property in SDIO node Neil Armstrong
  2019-08-29 15:23 ` [PATCH 02/15] arm64: dts: meson-g12a-x96-max: " Neil Armstrong
@ 2019-08-29 15:23 ` Neil Armstrong
  2019-08-29 15:23 ` [PATCH 04/15] arm64: dts: meson-gx-p23x-q20x: " Neil Armstrong
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi firmware requires that the power is kept enabled while in
suspend mode. Add the keep-power-in-suspend property in the SDIO node
to specify that the power must be kept when entering in a system wide
suspend state.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi
index 9c3ca2edc725..0bbf69fd9672 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi
@@ -446,6 +446,9 @@
 	non-removable;
 	disable-wp;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	mmc-pwrseq = <&sdio_pwrseq>;
 
 	vmmc-supply = <&vsys_3v3>;
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 04/15] arm64: dts: meson-gx-p23x-q20x: add keep-power-in-suspend property in SDIO node
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
                   ` (2 preceding siblings ...)
  2019-08-29 15:23 ` [PATCH 03/15] arm64: dts: meson-g12b-khadas-vim3: " Neil Armstrong
@ 2019-08-29 15:23 ` Neil Armstrong
  2019-08-29 15:23 ` [PATCH 05/15] arm64: dts: meson-gxbb-nanopi-k2: " Neil Armstrong
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi firmware requires that the power is kept enabled while in
suspend mode. Add the keep-power-in-suspend property in the SDIO node
to specify that the power must be kept when entering in a system wide
suspend state.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
index a9b778571cf5..12d5e333e5f2 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
@@ -169,6 +169,9 @@
 	non-removable;
 	disable-wp;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	mmc-pwrseq = <&sdio_pwrseq>;
 
 	vmmc-supply = <&vddao_3v3>;
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 05/15] arm64: dts: meson-gxbb-nanopi-k2: add keep-power-in-suspend property in SDIO node
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
                   ` (3 preceding siblings ...)
  2019-08-29 15:23 ` [PATCH 04/15] arm64: dts: meson-gx-p23x-q20x: " Neil Armstrong
@ 2019-08-29 15:23 ` Neil Armstrong
  2019-08-29 15:23 ` [PATCH 06/15] arm64: dts: meson-gxbb-nexbox-a95x: " Neil Armstrong
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi firmware requires that the power is kept enabled while in
suspend mode. Add the keep-power-in-suspend property in the SDIO node
to specify that the power must be kept when entering in a system wide
suspend state.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
index 233eb1cd7967..d6ca684e0e61 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
@@ -280,6 +280,9 @@
 	non-removable;
 	disable-wp;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	mmc-pwrseq = <&sdio_pwrseq>;
 
 	vmmc-supply = <&vddio_ao3v3>;
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 06/15] arm64: dts: meson-gxbb-nexbox-a95x: add keep-power-in-suspend property in SDIO node
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
                   ` (4 preceding siblings ...)
  2019-08-29 15:23 ` [PATCH 05/15] arm64: dts: meson-gxbb-nanopi-k2: " Neil Armstrong
@ 2019-08-29 15:23 ` Neil Armstrong
  2019-08-29 15:23 ` [PATCH 07/15] arm64: dts: meson-gxbb-p20x: " Neil Armstrong
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi firmware requires that the power is kept enabled while in
suspend mode. Add the keep-power-in-suspend property in the SDIO node
to specify that the power must be kept when entering in a system wide
suspend state.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts
index afcf8a9f667b..65ec7dea828c 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts
@@ -220,6 +220,9 @@
 	non-removable;
 	disable-wp;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	mmc-pwrseq = <&sdio_pwrseq>;
 
 	vmmc-supply = <&vddao_3v3>;
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 07/15] arm64: dts: meson-gxbb-p20x: add keep-power-in-suspend property in SDIO node
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
                   ` (5 preceding siblings ...)
  2019-08-29 15:23 ` [PATCH 06/15] arm64: dts: meson-gxbb-nexbox-a95x: " Neil Armstrong
@ 2019-08-29 15:23 ` Neil Armstrong
  2019-08-29 15:23 ` [PATCH 08/15] arm64: dts: meson-gxbb-vega-s95: " Neil Armstrong
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi firmware requires that the power is kept enabled while in
suspend mode. Add the keep-power-in-suspend property in the SDIO node
to specify that the power must be kept when entering in a system wide
suspend state.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
index 89f7b41b0e9e..e803a466fe4e 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
@@ -170,6 +170,9 @@
 	non-removable;
 	disable-wp;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	mmc-pwrseq = <&sdio_pwrseq>;
 
 	vmmc-supply = <&vddao_3v3>;
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 08/15] arm64: dts: meson-gxbb-vega-s95: add keep-power-in-suspend property in SDIO node
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
                   ` (6 preceding siblings ...)
  2019-08-29 15:23 ` [PATCH 07/15] arm64: dts: meson-gxbb-p20x: " Neil Armstrong
@ 2019-08-29 15:23 ` Neil Armstrong
  2019-08-29 15:23 ` [PATCH 09/15] arm64: dts: meson-gxbb-wetek: " Neil Armstrong
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi firmware requires that the power is kept enabled while in
suspend mode. Add the keep-power-in-suspend property in the SDIO node
to specify that the power must be kept when entering in a system wide
suspend state.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
index 43b11e3dfe11..d2ee2577d479 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
@@ -183,6 +183,9 @@
 	non-removable;
 	disable-wp;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	mmc-pwrseq = <&sdio_pwrseq>;
 
 	vmmc-supply = <&vddao_3v3>;
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 09/15] arm64: dts: meson-gxbb-wetek: add keep-power-in-suspend property in SDIO node
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
                   ` (7 preceding siblings ...)
  2019-08-29 15:23 ` [PATCH 08/15] arm64: dts: meson-gxbb-vega-s95: " Neil Armstrong
@ 2019-08-29 15:23 ` Neil Armstrong
  2019-08-29 15:23 ` [PATCH 10/15] arm64: dts: meson-gxl-s805x-p241: " Neil Armstrong
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi firmware requires that the power is kept enabled while in
suspend mode. Add the keep-power-in-suspend property in the SDIO node
to specify that the power must be kept when entering in a system wide
suspend state.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi
index 4c539881fbb7..dee51cf95223 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi
@@ -200,6 +200,9 @@
 	non-removable;
 	disable-wp;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	mmc-pwrseq = <&sdio_pwrseq>;
 
 	vmmc-supply = <&vddao_3v3>;
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 10/15] arm64: dts: meson-gxl-s805x-p241: add keep-power-in-suspend property in SDIO node
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
                   ` (8 preceding siblings ...)
  2019-08-29 15:23 ` [PATCH 09/15] arm64: dts: meson-gxbb-wetek: " Neil Armstrong
@ 2019-08-29 15:23 ` Neil Armstrong
  2019-08-29 15:23 ` [PATCH 11/15] arm64: dts: meson-gxl-s905x-nexbox-a95x: " Neil Armstrong
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi firmware requires that the power is kept enabled while in
suspend mode. Add the keep-power-in-suspend property in the SDIO node
to specify that the power must be kept when entering in a system wide
suspend state.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts
index 3a1484e5b8e1..a1119cfb0280 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts
@@ -165,6 +165,9 @@
 	non-removable;
 	disable-wp;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	mmc-pwrseq = <&sdio_pwrseq>;
 
 	vmmc-supply = <&vddao_3v3>;
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 11/15] arm64: dts: meson-gxl-s905x-nexbox-a95x: add keep-power-in-suspend property in SDIO node
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
                   ` (9 preceding siblings ...)
  2019-08-29 15:23 ` [PATCH 10/15] arm64: dts: meson-gxl-s805x-p241: " Neil Armstrong
@ 2019-08-29 15:23 ` Neil Armstrong
  2019-08-29 15:23 ` [PATCH 12/15] arm64: dts: meson-gxl-s905x-p212: " Neil Armstrong
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi firmware requires that the power is kept enabled while in
suspend mode. Add the keep-power-in-suspend property in the SDIO node
to specify that the power must be kept when entering in a system wide
suspend state.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts
index c433a031841f..62dd87821ce5 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts
@@ -165,6 +165,9 @@
 	non-removable;
 	disable-wp;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	mmc-pwrseq = <&sdio_pwrseq>;
 
 	vmmc-supply = <&vddao_3v3>;
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 12/15] arm64: dts: meson-gxl-s905x-p212: add keep-power-in-suspend property in SDIO node
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
                   ` (10 preceding siblings ...)
  2019-08-29 15:23 ` [PATCH 11/15] arm64: dts: meson-gxl-s905x-nexbox-a95x: " Neil Armstrong
@ 2019-08-29 15:23 ` Neil Armstrong
  2019-08-29 15:23 ` [PATCH 13/15] arm64: dts: meson-gxm-khadas-vim2: " Neil Armstrong
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi firmware requires that the power is kept enabled while in
suspend mode. Add the keep-power-in-suspend property in the SDIO node
to specify that the power must be kept when entering in a system wide
suspend state.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi
index e3c16f50814b..43eb7d149e36 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi
@@ -119,6 +119,9 @@
 	non-removable;
 	disable-wp;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	mmc-pwrseq = <&sdio_pwrseq>;
 
 	vmmc-supply = <&vddao_3v3>;
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 13/15] arm64: dts: meson-gxm-khadas-vim2: add keep-power-in-suspend property in SDIO node
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
                   ` (11 preceding siblings ...)
  2019-08-29 15:23 ` [PATCH 12/15] arm64: dts: meson-gxl-s905x-p212: " Neil Armstrong
@ 2019-08-29 15:23 ` Neil Armstrong
  2019-08-29 15:23 ` [PATCH 14/15] arm64: dts: meson-gxm-rbox-pro: " Neil Armstrong
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi firmware requires that the power is kept enabled while in
suspend mode. Add the keep-power-in-suspend property in the SDIO node
to specify that the power must be kept when entering in a system wide
suspend state.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
index f25ddd18a607..5fc38788610f 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
@@ -332,6 +332,9 @@
 	non-removable;
 	disable-wp;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	mmc-pwrseq = <&sdio_pwrseq>;
 
 	vmmc-supply = <&vddao_3v3>;
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 14/15] arm64: dts: meson-gxm-rbox-pro: add keep-power-in-suspend property in SDIO node
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
                   ` (12 preceding siblings ...)
  2019-08-29 15:23 ` [PATCH 13/15] arm64: dts: meson-gxm-khadas-vim2: " Neil Armstrong
@ 2019-08-29 15:23 ` Neil Armstrong
  2019-08-29 15:23 ` [PATCH 15/15] arm64: dts: meson-sm1-sei610: " Neil Armstrong
  2019-09-24 18:36 ` [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Kevin Hilman
  15 siblings, 0 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi firmware requires that the power is kept enabled while in
suspend mode. Add the keep-power-in-suspend property in the SDIO node
to specify that the power must be kept when entering in a system wide
suspend state.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts
index 5cd4d35006d0..420a88e9a195 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts
@@ -148,6 +148,9 @@
 	non-removable;
 	disable-wp;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	mmc-pwrseq = <&sdio_pwrseq>;
 
 	vmmc-supply = <&vddao_3v3>;
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 15/15] arm64: dts: meson-sm1-sei610: add keep-power-in-suspend property in SDIO node
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
                   ` (13 preceding siblings ...)
  2019-08-29 15:23 ` [PATCH 14/15] arm64: dts: meson-gxm-rbox-pro: " Neil Armstrong
@ 2019-08-29 15:23 ` Neil Armstrong
  2019-09-24 18:36 ` [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Kevin Hilman
  15 siblings, 0 replies; 17+ messages in thread
From: Neil Armstrong @ 2019-08-29 15:23 UTC (permalink / raw)
  To: khilman; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

The WiFi firmware requires that the power is kept enabled while in
suspend mode. Add the keep-power-in-suspend property in the SDIO node
to specify that the power must be kept when entering in a system wide
suspend state.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts
index e1cac880b02c..9f83dcfe96ac 100644
--- a/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts
@@ -301,6 +301,9 @@
 	non-removable;
 	disable-wp;
 
+	/* WiFi firmware requires power to be kept while in suspend */
+	keep-power-in-suspend;
+
 	mmc-pwrseq = <&sdio_pwrseq>;
 
 	vmmc-supply = <&vddao_3v3>;
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes
  2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
                   ` (14 preceding siblings ...)
  2019-08-29 15:23 ` [PATCH 15/15] arm64: dts: meson-sm1-sei610: " Neil Armstrong
@ 2019-09-24 18:36 ` Kevin Hilman
  15 siblings, 0 replies; 17+ messages in thread
From: Kevin Hilman @ 2019-09-24 18:36 UTC (permalink / raw)
  To: Neil Armstrong; +Cc: linux-amlogic, linux-kernel, Neil Armstrong

Neil Armstrong <narmstrong@baylibre.com> writes:

> The WiFi SDIO firmwares requires power to be kept while entering a system
> wide suspend state to keep current connection state and eventually wake up
> on packet reception/new AP connection, thus add the keep-power-in-suspend in
> each boards enabling SDIO.
>
> For the record, drivers requires it are :
> - brcmfmac: drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c line 1125
> - mwifiex: drivers/net/wireless/marvell/mwifiex/sdio.c line 426
> - libertas: drivers/net/wireless/marvell/libertas/if_sdio.c line 1327
> - wl1271: drivers/net/wireless/ti/wlcore/sdio.c line 411
> and bcmdhd out-of-tree driver.

Queued for v5.5,

Kevin

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2019-09-24 18:37 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-29 15:23 [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Neil Armstrong
2019-08-29 15:23 ` [PATCH 01/15] arm64: dts: meson-g12a-sei510: add keep-power-in-suspend property in SDIO node Neil Armstrong
2019-08-29 15:23 ` [PATCH 02/15] arm64: dts: meson-g12a-x96-max: " Neil Armstrong
2019-08-29 15:23 ` [PATCH 03/15] arm64: dts: meson-g12b-khadas-vim3: " Neil Armstrong
2019-08-29 15:23 ` [PATCH 04/15] arm64: dts: meson-gx-p23x-q20x: " Neil Armstrong
2019-08-29 15:23 ` [PATCH 05/15] arm64: dts: meson-gxbb-nanopi-k2: " Neil Armstrong
2019-08-29 15:23 ` [PATCH 06/15] arm64: dts: meson-gxbb-nexbox-a95x: " Neil Armstrong
2019-08-29 15:23 ` [PATCH 07/15] arm64: dts: meson-gxbb-p20x: " Neil Armstrong
2019-08-29 15:23 ` [PATCH 08/15] arm64: dts: meson-gxbb-vega-s95: " Neil Armstrong
2019-08-29 15:23 ` [PATCH 09/15] arm64: dts: meson-gxbb-wetek: " Neil Armstrong
2019-08-29 15:23 ` [PATCH 10/15] arm64: dts: meson-gxl-s805x-p241: " Neil Armstrong
2019-08-29 15:23 ` [PATCH 11/15] arm64: dts: meson-gxl-s905x-nexbox-a95x: " Neil Armstrong
2019-08-29 15:23 ` [PATCH 12/15] arm64: dts: meson-gxl-s905x-p212: " Neil Armstrong
2019-08-29 15:23 ` [PATCH 13/15] arm64: dts: meson-gxm-khadas-vim2: " Neil Armstrong
2019-08-29 15:23 ` [PATCH 14/15] arm64: dts: meson-gxm-rbox-pro: " Neil Armstrong
2019-08-29 15:23 ` [PATCH 15/15] arm64: dts: meson-sm1-sei610: " Neil Armstrong
2019-09-24 18:36 ` [PATCH 00/15] arm64: dts: meson: add keep-power-in-suspend property in boards SDIO nodes Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).