Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: tegra: colibri-eval: Fix power/wakeup key

Rather than a power key SODIMM pin 45 is actually used for wake-up
purposes which this patch fixes.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Marcel Ziswiler and committed by
Thierry Reding
3f533132 ccb43161

+3 -3
+3 -3
arch/arm/boot/dts/tegra30-colibri-eval-v3.dts
··· 137 137 gpio-keys { 138 138 compatible = "gpio-keys"; 139 139 140 - power { 141 - label = "Power"; 140 + wakeup { 141 + label = "SODIMM pin 45 wakeup"; 142 142 gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>; 143 - linux,code = <KEY_POWER>; 143 + linux,code = <KEY_WAKEUP>; 144 144 debounce-interval = <10>; 145 145 gpio-key,wakeup; 146 146 };