Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: at91: replace gpio-key,wakeup with wakeup-source property

Most of the legacy "gpio-key,wakeup" property 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 the legacy properties with the unified "wakeup-source"
property introduced in the commit 700a38b27eef ("Input: gpio_keys -
switch to using generic device properties")

Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Peter Rosin <peda@axentia.se>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

Sudeep Holla and committed by
Alexandre Belloni
31f031f7 c2dfab7e

+4 -4
+1 -1
arch/arm/boot/dts/at91-nattis-2-natte-2.dts
··· 22 22 wakeup { 23 23 label = "Wakeup"; 24 24 linux,code = <10>; 25 - gpio-key,wakeup; 25 + wakeup-source; 26 26 gpios = <&pioB 27 GPIO_ACTIVE_LOW>; 27 27 }; 28 28 };
+1 -1
arch/arm/boot/dts/at91-wb45n.dts
··· 22 22 label = "IRQBTN"; 23 23 linux,code = <99>; 24 24 gpios = <&pioB 18 GPIO_ACTIVE_LOW>; 25 - gpio-key,wakeup = <1>; 25 + wakeup-source; 26 26 }; 27 27 }; 28 28 };
+2 -2
arch/arm/boot/dts/at91-wb50n.dts
··· 23 23 label = "BTNESC"; 24 24 linux,code = <1>; /* ESC button */ 25 25 gpios = <&pioA 10 GPIO_ACTIVE_LOW>; 26 - gpio-key,wakeup = <1>; 26 + wakeup-source; 27 27 }; 28 28 29 29 irqbtn@31 { ··· 31 31 label = "IRQBTN"; 32 32 linux,code = <99>; /* SysReq button */ 33 33 gpios = <&pioE 31 GPIO_ACTIVE_LOW>; 34 - gpio-key,wakeup = <1>; 34 + wakeup-source; 35 35 }; 36 36 }; 37 37