]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
ARM: dts: imx6q: replace gpio-key,wakeup with wakeup-source for Utilite Pro
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 14 Nov 2016 15:44:09 +0000 (15:44 +0000)
committerShawn Guo <shawnguo@kernel.org>
Tue, 15 Nov 2016 00:12:20 +0000 (08:12 +0800)
Though the keyboard driver for GPIO buttons(gpio-keys) will continue to
check for/support the legacy "gpio-key,wakeup" boolean property to
enable gpio buttons as wakeup source, "wakeup-source" is the new
standard binding.

This patch replaces the legacy "gpio-key,wakeup" with the unified
"wakeup-source" property in order to avoid any further copy-paste
duplication.

Cc: Sascha Hauer <kernel@pengutronix.de>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6q-utilite-pro.dts

index 246979a388a4c9c4efbc9ee80a90470c8fb9b161..22009947cebcc86f7100b25c07c6693c94021257 100644 (file)
@@ -68,7 +68,7 @@
                        label = "Power Button";
                        gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_POWER>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
        };