]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: am335x: replace gpio-key,wakeup with wakeup-source property
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 21 Oct 2015 10:10:06 +0000 (11:10 +0100)
committerTony Lindgren <tony@atomide.com>
Thu, 17 Dec 2015 17:51:48 +0000 (09:51 -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 futher copy-paste
duplication.

Cc: "BenoƮt Cousson" <bcousson@baylibre.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-evm.dts
arch/arm/boot/dts/am335x-evmsk.dts
arch/arm/boot/dts/am335x-pepper.dts

index a55072fb664669bf1ec6c3bf499b4e592fc90a37..0d6a68ce434a44fa8c9cfc37eacdd72dcab818e5 100644 (file)
                        label = "volume-up";
                        linux,code = <115>;
                        gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                switch@10 {
                        label = "volume-down";
                        linux,code = <114>;
                        gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
        };
 
index 9609668919f100f753eb5f084377d4bfcab3127f..282fe1b370959f7fb429dd3cc4cbc70232890e15 100644 (file)
                        label = "button2";
                        linux,code = <0x102>;
                        gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                switch@4 {
index 4dd4f71498e5931f78d1ef6baf48b43a98ae20ae..471a3a70ea1f173ce15190f77443e6860e15c328 100644 (file)
                label = "home";
                linux,code = <KEY_HOME>;
                gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
-               gpio-key,wakeup;
+               wakeup-source;
        };
 
        button@1 {
                label = "menu";
                linux,code = <KEY_MENU>;
                gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
-               gpio-key,wakeup;
+               wakeup-source;
        };
 
        buttons@2 {
                label = "power";
                linux,code = <KEY_POWER>;
                gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
-               gpio-key,wakeup;
+               wakeup-source;
        };
 };