ARM: dts: omap: replace legacy *,wakeup property with wakeup-source
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 21 Oct 2015 10:10:12 +0000 (11:10 +0100)
committerTony Lindgren <tony@atomide.com>
Thu, 17 Dec 2015 17:52:32 +0000 (09:52 -0800)
Though the keyboard and other driver will continue to support the legacy
"gpio-key,wakeup", "linux,wakeup" boolean property to enable the wakeup
source, "wakeup-source" is the new standard binding.

This patch replaces all the legacy wakeup properties 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>
22 files changed:
arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
arch/arm/boot/dts/omap3-beagle-xm.dts
arch/arm/boot/dts/omap3-beagle.dts
arch/arm/boot/dts/omap3-cm-t3x.dtsi
arch/arm/boot/dts/omap3-devkit8000-common.dtsi
arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi
arch/arm/boot/dts/omap3-gta04.dtsi
arch/arm/boot/dts/omap3-ldp.dts
arch/arm/boot/dts/omap3-lilly-a83x.dtsi
arch/arm/boot/dts/omap3-n900.dts
arch/arm/boot/dts/omap3-overo-alto35-common.dtsi
arch/arm/boot/dts/omap3-overo-chestnut43-common.dtsi
arch/arm/boot/dts/omap3-overo-common-lcd35.dtsi
arch/arm/boot/dts/omap3-overo-common-lcd43.dtsi
arch/arm/boot/dts/omap3-overo-gallop43-common.dtsi
arch/arm/boot/dts/omap3-overo-palo35-common.dtsi
arch/arm/boot/dts/omap3-overo-palo43-common.dtsi
arch/arm/boot/dts/omap3-pandora-common.dtsi
arch/arm/boot/dts/omap3-panel-sharp-ls037v7dw01.dtsi
arch/arm/boot/dts/omap4-duovero-parlor.dts
arch/arm/boot/dts/omap4-var-om44customboard.dtsi
arch/arm/boot/dts/omap5-cm-t54.dts

index b017871aeddcb10d05c4839d7b2f609806001c86..d8dcbaf23c8af6b60010a1998497aca32a9764b6 100644 (file)
                        label = "sysboot2";
                        gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;     /* gpio2 */
                        linux,code = <BTN_0>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                sysboot5 {
                        label = "sysboot5";
                        gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;     /* gpio7 */
                        linux,code = <BTN_1>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                gpio1 {
                        label = "gpio1";
                        gpios = <&gpio6 21 GPIO_ACTIVE_LOW>;    /* gpio181 */
                        linux,code = <BTN_2>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                gpio2 {
                        label = "gpio2";
                        gpios = <&gpio6 18 GPIO_ACTIVE_LOW>;    /* gpio178 */
                        linux,code = <BTN_3>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
        };
 
index 5e0bf475051ea0bfb275af837a75aff29ef774d4..01e1e2d5c735b3067e46b48b969a32b2e515452a 100644 (file)
@@ -69,7 +69,7 @@
                        label = "user";
                        gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
                        linux,code = <0x114>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
        };
index 8dcf84ac79bb7bbe69710e1fa2abd6798c4d9624..8ba465d57635fb90c1e7872000ae9b93064e29a1 100644 (file)
@@ -80,7 +80,7 @@
                        label = "user";
                        gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
                        linux,code = <0x114>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
        };
index 8c813e77b17f4237c0f262c44f396e0fca2e6d76..e5f7f5c92c1a9ea23068a2f2ba370780fa1d6cbd 100644 (file)
                ti,debounce-tol = /bits/ 16 <10>;
                ti,debounce-rep = /bits/ 16 <1>;
 
-               linux,wakeup;
+               wakeup-source;
        };
 };
 
index 9ca2865a83d6e9bbc02a82156376ea857e9bee49..86850bb311ebbe491ccf523c60686928882b2374 100644 (file)
@@ -64,7 +64,7 @@
                        label = "user";
                        gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
                        linux,code = <BTN_EXTRA>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
        };
 
index 4813e96157b3a62ce51a40ab1562fc5a5b440872..738910db5c0cb7dea2584706f79f330e6d097317 100644 (file)
@@ -68,6 +68,6 @@
                ti,keep-vref-on = <1>;
                ti,settle-delay-usec = /bits/ 16 <150>;
 
-               linux,wakeup;
+               wakeup-source;
        };
 };
index e14d15e5abc89bb245b5f29eb7833eeebe3ea667..5e2d6433d9394b8464b25df9d7fa189ced97e708 100644 (file)
@@ -37,7 +37,7 @@
                        label = "aux";
                        linux,code = <169>;
                        gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
        };
 
index 0d0f1a7444f769a23c4db100dacf3d3d312f9b4d..540163025dd3ede47afa448e83c67f81b427dae8 100644 (file)
                        label = "enter";
                        gpios = <&gpio4 5 GPIO_ACTIVE_LOW>; /* gpio101 */
                        linux,code = <KEY_ENTER>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                key_f1 {
                        label = "f1";
                        gpios = <&gpio4 6 GPIO_ACTIVE_LOW>; /* gpio102 */
                        linux,code = <KEY_F1>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                key_f2 {
                        label = "f2";
                        gpios = <&gpio4 7 GPIO_ACTIVE_LOW>; /* gpio103 */
                        linux,code = <KEY_F2>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                key_f3 {
                        label = "f3";
                        gpios = <&gpio4 8 GPIO_ACTIVE_LOW>; /* gpio104 */
                        linux,code = <KEY_F3>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                key_f4 {
                        label = "f4";
                        gpios = <&gpio4 9 GPIO_ACTIVE_LOW>; /* gpio105 */
                        linux,code = <KEY_F4>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                key_left {
                        label = "left";
                        gpios = <&gpio4 10 GPIO_ACTIVE_LOW>; /* gpio106 */
                        linux,code = <KEY_LEFT>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                key_right {
                        label = "right";
                        gpios = <&gpio4 11 GPIO_ACTIVE_LOW>; /* gpio107 */
                        linux,code = <KEY_RIGHT>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                key_up {
                        label = "up";
                        gpios = <&gpio4 12 GPIO_ACTIVE_LOW>; /* gpio108 */
                        linux,code = <KEY_UP>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                key_down {
                        label = "down";
                        gpios = <&gpio4 13 GPIO_ACTIVE_LOW>; /* gpio109 */
                        linux,code = <KEY_DOWN>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
        };
 };
index 57d7c93cc72bd750fdffc2d4c27a01591b6c5dae..93f8dfe20f1321c97a69e2b971275c682f631ae1 100644 (file)
                ti,pressure-max = /bits/ 16 <255>;
                ti,swap-xy;
 
-               linux,wakeup;
+               wakeup-source;
        };
 };
 
index f8a20f32e26c14680a3b0d400a1021a41ebedb02..74d8f7eb556399e489eaebc7e754a4515a96f57f 100644 (file)
                        gpios = <&gpio4 14 GPIO_ACTIVE_LOW>; /* 110 */
                        linux,input-type = <5>; /* EV_SW */
                        linux,code = <0x09>; /* SW_CAMERA_LENS_COVER */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                camera_focus {
                        label = "Camera Focus";
                        gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; /* 68 */
                        linux,code = <0x210>; /* KEY_CAMERA_FOCUS */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                camera_capture {
                        label = "Camera Capture";
                        gpios = <&gpio3 5 GPIO_ACTIVE_LOW>; /* 69 */
                        linux,code = <0xd4>; /* KEY_CAMERA */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                lock_button {
                        label = "Lock Button";
                        gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; /* 113 */
                        linux,code = <0x98>; /* KEY_SCREENLOCK */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                keypad_slide {
@@ -96,7 +96,7 @@
                        gpios = <&gpio3 7 GPIO_ACTIVE_LOW>; /* 71 */
                        linux,input-type = <5>; /* EV_SW */
                        linux,code = <0x0a>; /* SW_KEYPAD_SLIDE */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                proximity_sensor {
index 7aae8fb82c1f33b66ba80566c6a1c5d0345f8a8a..3b3a75997f811597489b157dc831939f07eb5c3d 100644 (file)
@@ -48,7 +48,7 @@
                        label = "button0";
                        linux,code = <BTN_0>;
                        gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;            /* gpio_10 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
        };
 };
index 17b82f82638a97e5e6157fc0c9c16d156de962eb..7df27926ead215be3fdb1e0f8b02ce078ecb935b 100644 (file)
                        label = "button0";
                        linux,code = <BTN_0>;
                        gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;            /* gpio_23 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
                button1@14 {
                        label = "button1";
                        linux,code = <BTN_1>;
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;            /* gpio_14 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
        };
 };
index b09cedf66117398d0a75f0c07027deac5c793ea1..6314da2580f589c086408b459d607a545862fd98 100644 (file)
                ti,x-plate-ohms = /bits/ 16 <180>;
                ti,pressure-max = /bits/ 16 <255>;
 
-               linux,wakeup;
+               wakeup-source;
        };
 };
index 5f979590571b9ded188a2c2f6a4e0e72808d5e96..7e3fe85a8ad9c47f9a1d6b7f5603f539e6eaccbb 100644 (file)
                ti,x-plate-ohms = /bits/ 16 <180>;
                ti,pressure-max = /bits/ 16 <255>;
 
-               linux,wakeup;
+               wakeup-source;
        };
 };
 
index 49d2254a99b0f3767bfb3b797530139e2af84abe..250cc7fe5d5e1832365f5ecd55f009c0a41c313a 100644 (file)
                        label = "button0";
                        linux,code = <BTN_0>;
                        gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;            /* gpio_23 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
                button1@14 {
                        label = "button1";
                        linux,code = <BTN_1>;
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;            /* gpio_14 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
        };
 };
index 680d7262399c9131944271bedf8fa684e90c3d34..8df7ec35d17d11eb30f095d8b42123f07a6ddb17 100644 (file)
                        label = "button0";
                        linux,code = <BTN_0>;
                        gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;            /* gpio_23 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
                button1@14 {
                        label = "button1";
                        linux,code = <BTN_1>;
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;            /* gpio_14 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
        };
 };
index 087aedf5b9028c6f9f58d1065fd0029ce6ae0a0d..0ea2c451c80963f01456d0468327ac8336c578a6 100644 (file)
                        label = "button0";
                        linux,code = <BTN_0>;
                        gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;            /* gpio_23 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
                button1@14 {
                        label = "button1";
                        linux,code = <BTN_1>;
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;            /* gpio_14 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
        };
 };
index cfe140c657e7c6b5d051f621536a565a99c41fe9..13e9d1f987afea7ecfca699bd7bf40cf701a9327 100644 (file)
                        label = "up";
                        linux,code = <KEY_UP>;
                        gpios = <&gpio4 14 GPIO_ACTIVE_LOW>;    /* GPIO_110 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                down-button {
                        label = "down";
                        linux,code = <KEY_DOWN>;
                        gpios = <&gpio4 7 GPIO_ACTIVE_LOW>;     /* GPIO_103 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                left-button {
                        label = "left";
                        linux,code = <KEY_LEFT>;
                        gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;     /* GPIO_96 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                right-button {
                        label = "right";
                        linux,code = <KEY_RIGHT>;
                        gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;     /* GPIO_98 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                pageup-button {
                        label = "game 1";
                        linux,code = <KEY_PAGEUP>;
                        gpios = <&gpio4 13 GPIO_ACTIVE_LOW>;    /* GPIO_109 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                pagedown-button {
                        label = "game 3";
                        linux,code = <KEY_PAGEDOWN>;
                        gpios = <&gpio4 10 GPIO_ACTIVE_LOW>;    /* GPIO_106 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                home-button {
                        label = "game 4";
                        linux,code = <KEY_HOME>;
                        gpios = <&gpio4 5 GPIO_ACTIVE_LOW>;     /* GPIO_101 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                end-button {
                        label = "game 2";
                        linux,code = <KEY_END>;
                        gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;    /* GPIO_111 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                right-shift {
                        label = "l";
                        linux,code = <KEY_RIGHTSHIFT>;
                        gpios = <&gpio4 6 GPIO_ACTIVE_LOW>;     /* GPIO_102 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                kp-plus {
                        label = "l2";
                        linux,code = <KEY_KPPLUS>;
                        gpios = <&gpio4 1 GPIO_ACTIVE_LOW>;     /* GPIO_97 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                right-ctrl {
                        label = "r";
                        linux,code = <KEY_RIGHTCTRL>;
                        gpios = <&gpio4 9 GPIO_ACTIVE_LOW>;     /* GPIO_105 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                kp-minus {
                        label = "r2";
                        linux,code = <KEY_KPMINUS>;
                        gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;    /* GPIO_107 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                left-ctrl {
                        label = "ctrl";
                        linux,code = <KEY_LEFTCTRL>;
                        gpios = <&gpio4 8 GPIO_ACTIVE_LOW>;     /* GPIO_104 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                menu {
                        label = "menu";
                        linux,code = <KEY_MENU>;
                        gpios = <&gpio4 3 GPIO_ACTIVE_LOW>;     /* GPIO_99 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                hold {
                        label = "hold";
                        linux,code = <KEY_COFFEE>;
                        gpios = <&gpio6 16 GPIO_ACTIVE_LOW>;    /* GPIO_176 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                left-alt {
                        label = "alt";
                        linux,code = <KEY_LEFTALT>;
                        gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;    /* GPIO_100 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                lid {
                ti,x-plate-ohms = /bits/ 16 <40>;
                ti,pressure-max = /bits/ 16 <255>;
 
-               linux,wakeup;
+               wakeup-source;
        };
 
        lcd: lcd@1 {
index f4b1a61853e38523364a816ff4315caae15c378b..157345bb8e794548a97cfb974b745e032e87f2b3 100644 (file)
@@ -66,6 +66,6 @@
                ti,x-plate-ohms = /bits/ 16 <40>;
                ti,pressure-max = /bits/ 16 <255>;
                ti,swap-xy;
-               linux,wakeup;
+               wakeup-source;
        };
 };
index 1a78f013f37ab8e2ee4de5361dc16bdeec2b2516..ab17b9929250bef0104f62a0fea33c8235705db3 100644 (file)
@@ -36,7 +36,7 @@
                        label = "button0";
                        linux,code = <BTN_0>;
                        gpios = <&gpio4 25 GPIO_ACTIVE_LOW>;    /* gpio_121 */
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
        };
 
index f2d2fdb756289ac578ee7e35ff645e7602c1243d..6e278d7716a515c63c148fbc3c42f95a5ba7d472 100644 (file)
@@ -41,7 +41,7 @@
                        label = "user";
                        gpios = <&gpio6 24 GPIO_ACTIVE_HIGH>; /* gpio 184 */
                        linux,code = <BTN_EXTRA>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
        };
 
index 0c03dca9ea04b4bcb84e5e3e8d5502ad6b8ba56f..ecc591dc0778ddbf77222d417884387511d31f0d 100644 (file)
                ti,debounce-tol = /bits/ 16 <10>;
                ti,debounce-rep = /bits/ 16 <1>;
 
-               linux,wakeup;
+               wakeup-source;
        };
 };