]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: zynq: replace gpio-key,wakeup with wakeup-source property
authorSudeep Holla <sudeep.holla@arm.com>
Fri, 21 Dec 2018 18:12:13 +0000 (18:12 +0000)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 6 Apr 2020 10:51:30 +0000 (12:51 +0200)
Most of the legacy "gpio-key,wakeup" boolean property is already
replaced with "wakeup-source". However few occurrences of old property
has popped up again, probably from the remnants in downstream trees.

Replace the legacy properties with the unified "wakeup-source"
property introduced in the Linux kernel commit 700a38b27eef
("Input: gpio_keys - switch to using generic device properties")

Cc: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynq-zturn.dts

index cc41efcb4631af36bab3cbfb7d21bd316d36089b..600e8ee0255cea6f41b26dddac6e1bfb2a8533df 100644 (file)
@@ -54,7 +54,7 @@
                        label = "K1";
                        gpios = <&gpio0 0x32 0x1>;
                        linux,code = <0x66>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                        autorepeat;
                };
        };