1
0
Fork 0

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>
hifive-unleashed-5.1
Marc Dietrich 2018-08-02 10:45:40 +02:00 committed by Thierry Reding
parent 06d561ca0f
commit ebea2a43fd
1 changed files with 3 additions and 3 deletions

View File

@ -524,10 +524,10 @@
gpio-keys {
compatible = "gpio-keys";
power {
label = "Power";
wakeup {
label = "Wakeup";
gpios = <&gpio TEGRA_GPIO(J, 7) GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>;
linux,code = <KEY_WAKEUP>;
wakeup-source;
};
};