Skip to contentSkip to conversation

arm64: dts: mediatek: Replace 'enable-sdio-wakeup'

PATCH Applied Fabio Estevam 2 participants 2 messages Jun 21, 2022 – Jun 22, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: mediatek: Replace 'enable-sdio-wakeup'

From: Fabio Estevam <[email protected]>

As explained in Documentation/devicetree/bindings/mmc/mmc-controller.yaml, the 'enable-sdio-wakeup' property is considered deprecated.

Replace it with the 'wakeup-source' property instead.

---
 arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi    | 2 +-
 arch/arm64/boot/dts/mediatek/mt8183-evb.dts     | 2 +-
 arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi  | 2 +-
 arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +1 -1
index 923c1c3477e5..e21feb85d822 100644
@@ -410,7 +410,7 @@ &mmc3 {
 	sd-uhs-sdr50;
 	sd-uhs-sdr104;
 	keep-power-in-suspend;
-	enable-sdio-wakeup;
+	wakeup-source;
 	cap-sdio-irq;
 	vmmc-supply = <&sdio_fixed_3v3>;
 	vqmmc-supply = <&mt6397_vgp3_reg>;
arch/arm64/boot/dts/mediatek/mt8183-evb.dts +1 -1
index 7ac9864db9de..52dc4a50e34d 100644
@@ -134,7 +134,7 @@ &mmc1 {
 	vmmc-supply = <&mt6358_vmch_reg>;
 	vqmmc-supply = <&mt6358_vmc_reg>;
 	keep-power-in-suspend;
-	enable-sdio-wakeup;
+	wakeup-source;
 	non-removable;
 };
 
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +1 -1
index b50261e8b9ed..89e4358f140a 100644
@@ -382,7 +382,7 @@ &mmc1 {
 	sd-uhs-sdr50;
 	sd-uhs-sdr104;
 	keep-power-in-suspend;
-	enable-sdio-wakeup;
+	wakeup-source;
 	cap-sdio-irq;
 	non-removable;
 	no-mmc;
arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts +1 -1
index afeb5cd37826..530e0c9ce0c9 100644
@@ -159,7 +159,7 @@ &mmc1 {
 	vmmc-supply = <&mt6358_vmch_reg>;
 	vqmmc-supply = <&mt6358_vmc_reg>;
 	keep-power-in-suspend;
-	enable-sdio-wakeup;
+	wakeup-source;
 	non-removable;
 };
 
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 8 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

As explained in Documentation/devicetree/bindings/mmc/mmc-controller.yaml, the 'enable-sdio-wakeup' property is considered deprecated.

Replace it with the 'wakeup-source' property instead.

Applied, thanks!

Quoted 59 lines
---
  arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi    | 2 +-
  arch/arm64/boot/dts/mediatek/mt8183-evb.dts     | 2 +-
  arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi  | 2 +-
  arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 2 +-
  4 files changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +1 -1
index 923c1c3477e5..e21feb85d822 100644
@@ -410,7 +410,7 @@ &mmc3 {
  	sd-uhs-sdr50;
  	sd-uhs-sdr104;
  	keep-power-in-suspend;
-	enable-sdio-wakeup;
+	wakeup-source;
  	cap-sdio-irq;
  	vmmc-supply = <&sdio_fixed_3v3>;
  	vqmmc-supply = <&mt6397_vgp3_reg>;
arch/arm64/boot/dts/mediatek/mt8183-evb.dts +1 -1
index 7ac9864db9de..52dc4a50e34d 100644
@@ -134,7 +134,7 @@ &mmc1 {
  	vmmc-supply = <&mt6358_vmch_reg>;
  	vqmmc-supply = <&mt6358_vmc_reg>;
  	keep-power-in-suspend;
-	enable-sdio-wakeup;
+	wakeup-source;
  	non-removable;
  };
 
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +1 -1
index b50261e8b9ed..89e4358f140a 100644
@@ -382,7 +382,7 @@ &mmc1 {
  	sd-uhs-sdr50;
  	sd-uhs-sdr104;
  	keep-power-in-suspend;
-	enable-sdio-wakeup;
+	wakeup-source;
  	cap-sdio-irq;
  	non-removable;
  	no-mmc;
arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts +1 -1
index afeb5cd37826..530e0c9ce0c9 100644
@@ -159,7 +159,7 @@ &mmc1 {
  	vmmc-supply = <&mt6358_vmch_reg>;
  	vqmmc-supply = <&mt6358_vmc_reg>;
  	keep-power-in-suspend;
-	enable-sdio-wakeup;
+	wakeup-source;
  	non-removable;
  };