ARM: dts: spear: replace gpio-key,wakeup with wakeup-source property
authorSudeep Holla <sudeep.holla@arm.com>
Tue, 9 Feb 2016 15:44:59 +0000 (15:44 +0000)
committerOlof Johansson <olof@lixom.net>
Wed, 24 Feb 2016 20:20:26 +0000 (12:20 -0800)
commita6b1786897b8551a2c7211c3c9278d8b05a2ad05
tree0972d63efc376640e7dbfb74597638c2acb4a427
parent53a7aa0b4974890e19a81c505182c40392d327af
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>
arch/arm/boot/dts/spear1310-evb.dts
arch/arm/boot/dts/spear1340-evb.dts
arch/arm/boot/dts/spear320-hmi.dts