• Sudeep Holla's avatar
    ARM: dts: rockchip: replace gpio-key,wakeup with wakeup-source property · 4f66f247
    Sudeep Holla authored
    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: default avatarSudeep Holla <sudeep.holla@arm.com>
    Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
    4f66f247
rk3188-radxarock.dts 8.52 KB