diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2016-02-08 22:55:12 +0100 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2016-02-10 00:19:41 +0100 |
commit | 4f66f247f70bda47ec2410d007520004ba8761de (patch) | |
tree | e004fbdfb968595367f99a7aaf5ab716ad0b12a9 /arch/arm/boot/dts/rk3288-veyron.dtsi | |
parent | ARM: dts: rockchip: add arm,pl330-broken-no-flushp quirk for rk3036 SoCs (diff) | |
download | linux-4f66f247f70bda47ec2410d007520004ba8761de.tar.xz linux-4f66f247f70bda47ec2410d007520004ba8761de.zip |
ARM: 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/arm/boot/dts/rk3288-veyron.dtsi')
-rw-r--r-- | arch/arm/boot/dts/rk3288-veyron.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi index 5e61f07724d4..0350f79f57da 100644 --- a/arch/arm/boot/dts/rk3288-veyron.dtsi +++ b/arch/arm/boot/dts/rk3288-veyron.dtsi @@ -64,7 +64,7 @@ gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; linux,code = <KEY_POWER>; debounce-interval = <100>; - gpio-key,wakeup; + wakeup-source; }; }; |