ARM: dts: replace gpio-key, wakeup with wakeup-source property
Subsystems (4)
PATCH v2 1/1 ARM: dts: replace gpio-key, wakeup with wakeup-source property
Most of the legacy "gpio-key,wakeup" and "enable-sdio-wakeup" boolean properties are already replaced with "wakeup-source". However few occurrences of old property has popped up again, probably from the remnants in downstream trees. Almost all of those were remove couple of years back.
Replace those legacy properties with the unified "wakeup-source" property.
--- arch/arm/boot/dts/at91-nattis-2-natte-2.dts | 2 +- arch/arm/boot/dts/at91-wb45n.dts | 2 +- arch/arm/boot/dts/at91-wb50n.dts | 4 ++-- arch/arm/boot/dts/imx6q-pistachio.dts | 2 +- arch/arm/boot/dts/imx6sll-evk.dts | 2 +- arch/arm/boot/dts/zynq-zturn.dts | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)
Hi ARM SoC Team,
Though it's more a cleanup, I prefer if this can be pushed as fix to avoid more duplication in downstream as well as having to split into 3 different patches.
--
Regards,
Sudeep
arch/arm/boot/dts/at91-nattis-2-natte-2.dts +1 -1
@@ -22,7 +22,7 @@ wakeup { label = "Wakeup"; linux,code = <10>; - gpio-key,wakeup; + wakeup-source; gpios = <&pioB 27 GPIO_ACTIVE_LOW>; }; };
arch/arm/boot/dts/at91-wb45n.dts +1 -1
@@ -22,7 +22,7 @@ label = "IRQBTN"; linux,code = <99>; gpios = <&pioB 18 GPIO_ACTIVE_LOW>; - gpio-key,wakeup = <1>; + wakeup-source; }; }; };
arch/arm/boot/dts/at91-wb50n.dts +2 -2
@@ -23,7 +23,7 @@ label = "BTNESC"; linux,code = <1>; /* ESC button */ gpios = <&pioA 10 GPIO_ACTIVE_LOW>; - gpio-key,wakeup = <1>; + wakeup-source; }; irqbtn at 31 {
@@ -31,7 +31,7 @@ label = "IRQBTN"; linux,code = <99>; /* SysReq button */ gpios = <&pioE 31 GPIO_ACTIVE_LOW>; - gpio-key,wakeup = <1>; + wakeup-source; }; };
arch/arm/boot/dts/imx6q-pistachio.dts +1 -1
@@ -102,7 +102,7 @@ power { label = "Power Button"; gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; - gpio-key,wakeup; + wakeup-source; linux,code = <KEY_POWER>; }; };
arch/arm/boot/dts/imx6sll-evk.dts +1 -1
@@ -296,7 +296,7 @@ pinctrl-2 = <&pinctrl_usdhc3_200mhz>; cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; keep-power-in-suspend; - enable-sdio-wakeup; + wakeup-source; vmmc-supply = <®_sd3_vmmc>; status = "okay"; };
arch/arm/boot/dts/zynq-zturn.dts +1 -1
@@ -54,7 +54,7 @@ label = "K1"; gpios = <&gpio0 0x32 0x1>; linux,code = <0x66>; - gpio-key,wakeup; + wakeup-source; autorepeat; }; };
--
2.17.1
PATCH v2 1/1 ARM: dts: replace gpio-key, wakeup with wakeup-source property
Quoted 23 lines · Sudeep Holla
Most of the legacy "gpio-key,wakeup" and "enable-sdio-wakeup" boolean properties are already replaced with "wakeup-source". However few occurrences of old property has popped up again, probably from the remnants in downstream trees. Almost all of those were remove couple of years back.
Replace those legacy properties with the unified "wakeup-source" property.
Acked-by Peter Rosin <[email protected]>Reviewed-by Fabio Estevam <[email protected]>Reviewed-by Michal Simek <[email protected]>Signed-off-by Sudeep Holla <[email protected]>--- arch/arm/boot/dts/at91-nattis-2-natte-2.dts | 2 +- arch/arm/boot/dts/at91-wb45n.dts | 2 +- arch/arm/boot/dts/at91-wb50n.dts | 4 ++-- arch/arm/boot/dts/imx6q-pistachio.dts | 2 +- arch/arm/boot/dts/imx6sll-evk.dts | 2 +- arch/arm/boot/dts/zynq-zturn.dts | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)
Quoted 5 lines
Hi ARM SoC Team,
Though it's more a cleanup, I prefer if this can be pushed as fix to avoid more duplication in downstream as well as having to split into 3 different patches.
Is there a reason you're not fixing up xilinx on arm64 while you're at it? Sort of defeats the purpose of removing all usage of it.
-Olof
PATCH v2 1/1 ARM: dts: replace gpio-key, wakeup with wakeup-source property
Quoted 24 lines · Olof Johansson
Quoted 23 lines · Sudeep Holla
Most of the legacy "gpio-key,wakeup" and "enable-sdio-wakeup" boolean properties are already replaced with "wakeup-source". However few occurrences of old property has popped up again, probably from the remnants in downstream trees. Almost all of those were remove couple of years back.
Replace those legacy properties with the unified "wakeup-source" property.
Acked-by Peter Rosin <[email protected]>Reviewed-by Fabio Estevam <[email protected]>Reviewed-by Michal Simek <[email protected]>Signed-off-by Sudeep Holla <[email protected]>--- arch/arm/boot/dts/at91-nattis-2-natte-2.dts | 2 +- arch/arm/boot/dts/at91-wb45n.dts | 2 +- arch/arm/boot/dts/at91-wb50n.dts | 4 ++-- arch/arm/boot/dts/imx6q-pistachio.dts | 2 +- arch/arm/boot/dts/imx6sll-evk.dts | 2 +- arch/arm/boot/dts/zynq-zturn.dts | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)
Quoted 8 lines
Quoted 5 lines
Hi ARM SoC Team,
Though it's more a cleanup, I prefer if this can be pushed as fix to avoid more duplication in downstream as well as having to split into 3 different patches.
Is there a reason you're not fixing up xilinx on arm64 while you're at it? Sort of defeats the purpose of removing all usage of it.
ZynqMP patch was sent separately. I have already taken to my tree and will send PR around rc4/5 timeframe.
Thanks,
Michal
PATCH v2 1/1 ARM: dts: replace gpio-key, wakeup with wakeup-source property
In reply to Olof JohanssonQuoted 24 lines · Olof Johansson
Quoted 23 lines · Sudeep Holla
Most of the legacy "gpio-key,wakeup" and "enable-sdio-wakeup" boolean properties are already replaced with "wakeup-source". However few occurrences of old property has popped up again, probably from the remnants in downstream trees. Almost all of those were remove couple of years back.
Replace those legacy properties with the unified "wakeup-source" property.
Acked-by Peter Rosin <[email protected]>Reviewed-by Fabio Estevam <[email protected]>Reviewed-by Michal Simek <[email protected]>Signed-off-by Sudeep Holla <[email protected]>--- arch/arm/boot/dts/at91-nattis-2-natte-2.dts | 2 +- arch/arm/boot/dts/at91-wb45n.dts | 2 +- arch/arm/boot/dts/at91-wb50n.dts | 4 ++-- arch/arm/boot/dts/imx6q-pistachio.dts | 2 +- arch/arm/boot/dts/imx6sll-evk.dts | 2 +- arch/arm/boot/dts/zynq-zturn.dts | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)
Quoted 9 lines
Quoted 5 lines
Hi ARM SoC Team,
Though it's more a cleanup, I prefer if this can be pushed as fix to avoid more duplication in downstream as well as having to split into 3 different patches.
Is there a reason you're not fixing up xilinx on arm64 while you're at it? Sort of defeats the purpose of removing all usage of it.
Yes, ZynqMP is the only platform using legacy bindings in arm64 and as Michal mentions he has already taken that one.
--
Regards,
Sudeep
PATCH v2 1/1 ARM: dts: replace gpio-key, wakeup with wakeup-source property
Quoted 32 lines · Sudeep Holla
Quoted 30 lines · Olof Johansson
Quoted 28 lines · Sudeep Holla
Most of the legacy "gpio-key,wakeup" and "enable-sdio-wakeup" boolean properties are already replaced with "wakeup-source". However few occurrences of old property has popped up again, probably from the remnants in downstream trees. Almost all of those were remove couple of years back.
Replace those legacy properties with the unified "wakeup-source" property.
Acked-by Peter Rosin <[email protected]>Reviewed-by Fabio Estevam <[email protected]>Reviewed-by Michal Simek <[email protected]>Signed-off-by Sudeep Holla <[email protected]>--- arch/arm/boot/dts/at91-nattis-2-natte-2.dts | 2 +- arch/arm/boot/dts/at91-wb45n.dts | 2 +- arch/arm/boot/dts/at91-wb50n.dts | 4 ++-- arch/arm/boot/dts/imx6q-pistachio.dts | 2 +- arch/arm/boot/dts/imx6sll-evk.dts | 2 +- arch/arm/boot/dts/zynq-zturn.dts | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)Hi ARM SoC Team,
Though it's more a cleanup, I prefer if this can be pushed as fix to avoid more duplication in downstream as well as having to split into 3 different patches.
Quoted 6 lines
Quoted 3 lines
Is there a reason you're not fixing up xilinx on arm64 while you're at it? Sort of defeats the purpose of removing all usage of it.
Yes, ZynqMP is the only platform using legacy bindings in arm64 and as Michal mentions he has already taken that one.
Ok, please send the others the same way through maintainers then.
-Olof
PATCH v2 1/1 ARM: dts: replace gpio-key, wakeup with wakeup-source property
Quoted 33 lines · Olof Johansson
Quoted 32 lines · Sudeep Holla
Quoted 30 lines · Olof Johansson
Quoted 28 lines · Sudeep Holla
Most of the legacy "gpio-key,wakeup" and "enable-sdio-wakeup" boolean properties are already replaced with "wakeup-source". However few occurrences of old property has popped up again, probably from the remnants in downstream trees. Almost all of those were remove couple of years back.
Replace those legacy properties with the unified "wakeup-source" property.
Acked-by Peter Rosin <[email protected]>Reviewed-by Fabio Estevam <[email protected]>Reviewed-by Michal Simek <[email protected]>Signed-off-by Sudeep Holla <[email protected]>--- arch/arm/boot/dts/at91-nattis-2-natte-2.dts | 2 +- arch/arm/boot/dts/at91-wb45n.dts | 2 +- arch/arm/boot/dts/at91-wb50n.dts | 4 ++-- arch/arm/boot/dts/imx6q-pistachio.dts | 2 +- arch/arm/boot/dts/imx6sll-evk.dts | 2 +- arch/arm/boot/dts/zynq-zturn.dts | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)Hi ARM SoC Team,
Though it's more a cleanup, I prefer if this can be pushed as fix to avoid more duplication in downstream as well as having to split into 3 different patches.
Quoted 9 lines
Quoted 6 lines
Quoted 3 lines
Is there a reason you're not fixing up xilinx on arm64 while you're at it? Sort of defeats the purpose of removing all usage of it.
Yes, ZynqMP is the only platform using legacy bindings in arm64 and as Michal mentions he has already taken that one.
Ok, please send the others the same way through maintainers then.
OK, I will do so. I was avoiding to put this silly change in 3 different patches :)
--
Regards,
Sudeep
PATCH v2 1/1 ARM: dts: replace gpio-key, wakeup with wakeup-source property
Quoted 39 lines · Sudeep Holla
Quoted 37 lines · Olof Johansson
Quoted 36 lines · Sudeep Holla
Quoted 33 lines · Olof Johansson
Quoted 23 lines · Sudeep Holla
Most of the legacy "gpio-key,wakeup" and "enable-sdio-wakeup" boolean properties are already replaced with "wakeup-source". However few occurrences of old property has popped up again, probably from the remnants in downstream trees. Almost all of those were remove couple of years back.
Replace those legacy properties with the unified "wakeup-source" property.
Acked-by Peter Rosin <[email protected]>Reviewed-by Fabio Estevam <[email protected]>Reviewed-by Michal Simek <[email protected]>Signed-off-by Sudeep Holla <[email protected]>--- arch/arm/boot/dts/at91-nattis-2-natte-2.dts | 2 +- arch/arm/boot/dts/at91-wb45n.dts | 2 +- arch/arm/boot/dts/at91-wb50n.dts | 4 ++-- arch/arm/boot/dts/imx6q-pistachio.dts | 2 +- arch/arm/boot/dts/imx6sll-evk.dts | 2 +- arch/arm/boot/dts/zynq-zturn.dts | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)Quoted 5 lines
Hi ARM SoC Team,
Though it's more a cleanup, I prefer if this can be pushed as fix to avoid more duplication in downstream as well as having to split into 3 different patches.
Is there a reason you're not fixing up xilinx on arm64 while you're at it? Sort of defeats the purpose of removing all usage of it.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Yes, ZynqMP is the only platform using legacy bindings in arm64 and as Michal mentions he has already taken that one.
Ok, please send the others the same way through maintainers then.
OK, I will do so. I was avoiding to put this silly change in 3 different patches :)
I'm maybe a little confused over that, since you already split it up in two.
-Olof
PATCH v2 1/1 ARM: dts: replace gpio-key, wakeup with wakeup-source property
Quoted 2 lines · Olof Johansson
Quoted 1 line · Sudeep Holla
[...]
Quoted 5 lines
Quoted 2 lines
OK, I will do so. I was avoiding to put this silly change in 3 different patches :)
I'm maybe a little confused over that, since you already split it up in two.
Extremely sorry for the confusion. I have separate patches for ARM and arm64. I was referring individual platforms within ARM above.
--
Regards,
Sudeep