From: Marc Dietrich Date: Thu, 2 Aug 2018 08:45:40 +0000 (+0200) Subject: ARM: dts: paz00: fix wakeup gpio keycode X-Git-Tag: v4.20-rc1~66^2~31^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ebea2a43fdafdbce918bd7e200b709d6c33b9f3b;p=thirdparty%2Flinux.git 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 Tested-by: Nicolas Chauvet Signed-off-by: Thierry Reding --- diff --git a/arch/arm/boot/dts/tegra20-paz00.dts b/arch/arm/boot/dts/tegra20-paz00.dts index 7d8aef6ebd3a0..8861e0976e375 100644 --- a/arch/arm/boot/dts/tegra20-paz00.dts +++ b/arch/arm/boot/dts/tegra20-paz00.dts @@ -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 = ; + linux,code = ; wakeup-source; }; };