]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: at91: replace gpio-key,wakeup with wakeup-source property
authorSudeep Holla <sudeep.holla@arm.com>
Fri, 21 Dec 2018 18:11:49 +0000 (18:11 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 8 Jan 2019 18:12:40 +0000 (19:12 +0100)
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>
arch/arm/boot/dts/at91-nattis-2-natte-2.dts
arch/arm/boot/dts/at91-wb45n.dts
arch/arm/boot/dts/at91-wb50n.dts

index 0f6d335125e27eca213f7757f193037cee6c4701..f245944bd5d71b6fbeb90506f400e6278ac7caae 100644 (file)
@@ -22,7 +22,7 @@
                wakeup {
                        label = "Wakeup";
                        linux,code = <10>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                        gpios = <&pioB 27 GPIO_ACTIVE_LOW>;
                };
        };
index 5b9512a6c89cf6ccd885bcaf9239b692f4f0054e..54d130c921851a4e862189b7aedc7d59ee520952 100644 (file)
@@ -22,7 +22,7 @@
                        label = "IRQBTN";
                        linux,code = <99>;
                        gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
-                       gpio-key,wakeup = <1>;
+                       wakeup-source;
                };
        };
 };
index 8cecc7051a86f805245bb6f4d71708f5483b54eb..a5e45bb95c04ebd028ad9f0ab4d953ca3917f129 100644 (file)
@@ -23,7 +23,7 @@
                        label = "BTNESC";
                        linux,code = <1>; /* ESC button */
                        gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
-                       gpio-key,wakeup = <1>;
+                       wakeup-source;
                };
 
                irqbtn@31 {
@@ -31,7 +31,7 @@
                        label = "IRQBTN";
                        linux,code = <99>; /* SysReq button */
                        gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
-                       gpio-key,wakeup = <1>;
+                       wakeup-source;
                };
        };