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

ARM: dts: paz00: fix wakeup gpio keycode

The power key is controlled solely by the EC, which only tiggeres this
gpio after wakeup.
Fixes immediately return to suspend after wake from LP1.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Tested-by: Nicolas Chauvet <kwizart@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Marc Dietrich and committed by
Thierry Reding
ebea2a43 06d561ca

+3 -3
+3 -3
arch/arm/boot/dts/tegra20-paz00.dts
··· 524 524 gpio-keys { 525 525 compatible = "gpio-keys"; 526 526 527 - power { 528 - label = "Power"; 527 + wakeup { 528 + label = "Wakeup"; 529 529 gpios = <&gpio TEGRA_GPIO(J, 7) GPIO_ACTIVE_LOW>; 530 - linux,code = <KEY_POWER>; 530 + linux,code = <KEY_WAKEUP>; 531 531 wakeup-source; 532 532 }; 533 533 };