diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2016-02-09 15:44:59 +0000 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2016-02-24 12:20:26 -0800 |
commit | a6b1786897b8551a2c7211c3c9278d8b05a2ad05 (patch) | |
tree | 0972d63efc376640e7dbfb74597638c2acb4a427 /arch/arm/boot/dts/spear320-hmi.dts | |
parent | 53a7aa0b4974890e19a81c505182c40392d327af (diff) | |
download | blackbird-op-linux-a6b1786897b8551a2c7211c3c9278d8b05a2ad05.tar.gz blackbird-op-linux-a6b1786897b8551a2c7211c3c9278d8b05a2ad05.zip |
ARM: dts: spear: replace gpio-key,wakeup with wakeup-source property
Keyboard driver for GPIO buttons(gpio-keys) checks for the legacy
"gpio-key,wakeup" boolean property to enable gpio buttons as wakeup
source.
Few dts files assign value "1" to gpio-key,wakeup which is incorrect.
Since the presence of the boolean property indicates it is enabled,
value of "0" or "1" have no significance.
This patch replaces the legacy "gpio-key,wakeup" with the unified
"wakeup-source" property which inturn fixes the above mentioned issue.
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts/spear320-hmi.dts')
-rw-r--r-- | arch/arm/boot/dts/spear320-hmi.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/spear320-hmi.dts b/arch/arm/boot/dts/spear320-hmi.dts index 0aa6fef5ce22..0d0da1f65f0e 100644 --- a/arch/arm/boot/dts/spear320-hmi.dts +++ b/arch/arm/boot/dts/spear320-hmi.dts @@ -141,7 +141,7 @@ linux,code = <0x100>; gpios = <&stmpegpio 3 0x4>; debounce-interval = <20>; - gpio-key,wakeup = <1>; + wakeup-source; }; button@2 { @@ -149,7 +149,7 @@ linux,code = <0x200>; gpios = <&stmpegpio 2 0x4>; debounce-interval = <20>; - gpio-key,wakeup = <1>; + wakeup-source; }; }; |