summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/rk3066a-bqcurie2.dts
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2016-02-08 21:55:12 +0000
committerHeiko Stuebner <heiko@sntech.de>2016-02-10 00:19:41 +0100
commit4f66f247f70bda47ec2410d007520004ba8761de (patch)
treee004fbdfb968595367f99a7aaf5ab716ad0b12a9 /arch/arm/boot/dts/rk3066a-bqcurie2.dts
parent29f12bbab4c3997c5c8879ea19cfc47440dedbd8 (diff)
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/rk3066a-bqcurie2.dts')
-rw-r--r--arch/arm/boot/dts/rk3066a-bqcurie2.dts3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/rk3066a-bqcurie2.dts b/arch/arm/boot/dts/rk3066a-bqcurie2.dts
index 8a58bb3d7b6b..6d2a5b3a84a8 100644
--- a/arch/arm/boot/dts/rk3066a-bqcurie2.dts
+++ b/arch/arm/boot/dts/rk3066a-bqcurie2.dts
@@ -86,7 +86,7 @@
linux,code = <116>;
label = "GPIO Key Power";
linux,input-type = <1>;
- gpio-key,wakeup = <1>;
+ wakeup-source;
debounce-interval = <100>;
};
button@1 {
@@ -94,7 +94,6 @@
linux,code = <104>;
label = "GPIO Key Vol-";
linux,input-type = <1>;
- gpio-key,wakeup = <0>;
debounce-interval = <100>;
};
/* VOL+ comes somehow thru the ADC */