arm64: dts: rockchip: replace gpio-key,wakeup with wakeup-source property
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 8 Feb 2016 21:55:12 +0000 (21:55 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 9 Feb 2016 23:23:24 +0000 (00:23 +0100)
commite6f49b118f73a769ec51ed28a085e9dccd67f9a1
treea78332ba6b133d7afb9fd40eabf8583fba88d926
parent90191625ec0d075ac0748181ae1b947b0b30297e
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>
arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi
arch/arm64/boot/dts/rockchip/rk3368-r88.dts