diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2016-02-09 00:55:12 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2016-02-10 02:23:24 +0300 |
commit | e6f49b118f73a769ec51ed28a085e9dccd67f9a1 (patch) | |
tree | a78332ba6b133d7afb9fd40eabf8583fba88d926 /arch/arm64/boot/dts/rockchip/rk3368-r88.dts | |
parent | 90191625ec0d075ac0748181ae1b947b0b30297e (diff) | |
download | linux-e6f49b118f73a769ec51ed28a085e9dccd67f9a1.tar.xz |
arm64: dts: rockchip: 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 and in one instance a
value "0" is assigned probably assuming it won't be enabled as a wakeup
source. Since the presence of the boolean property indicates it is
enabled, value of "0" have no value.
This patch replaces the legacy "gpio-key,wakeup" with the unified
"wakeup-source" property which inturn fixes the above mentioned issue.
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3368-r88.dts')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts index 104cbee762bb..1f2b642e794a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts +++ b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts @@ -71,7 +71,7 @@ pinctrl-0 = <&pwr_key>; button@0 { - gpio-key,wakeup = <1>; + wakeup-source; gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; label = "GPIO Power"; linux,code = <116>; |