diff options
author | Marc Dietrich <marvin24@gmx.de> | 2018-08-02 10:45:40 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-09-26 17:29:41 +0200 |
commit | ebea2a43fdafdbce918bd7e200b709d6c33b9f3b (patch) | |
tree | 2a214100fa79aa43486d60f1587b80e4181f6404 /arch/arm/boot/dts/tegra20-paz00.dts | |
parent | ARM: tegra: tegra20: Fix mixed tabs-spaces indentation (diff) | |
download | linux-ebea2a43fdafdbce918bd7e200b709d6c33b9f3b.tar.xz linux-ebea2a43fdafdbce918bd7e200b709d6c33b9f3b.zip |
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>
Diffstat (limited to 'arch/arm/boot/dts/tegra20-paz00.dts')
-rw-r--r-- | arch/arm/boot/dts/tegra20-paz00.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/tegra20-paz00.dts b/arch/arm/boot/dts/tegra20-paz00.dts index 7d8aef6ebd3a..8861e0976e37 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 = <KEY_POWER>; + linux,code = <KEY_WAKEUP>; wakeup-source; }; }; |