summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Dietrich2018-08-02 10:45:40 +0200
committerThierry Reding2018-09-26 17:29:41 +0200
commitebea2a43fdafdbce918bd7e200b709d6c33b9f3b (patch)
tree2a214100fa79aa43486d60f1587b80e4181f6404
parentARM: tegra: tegra20: Fix mixed tabs-spaces indentation (diff)
downloadkernel-qcow2-linux-ebea2a43fdafdbce918bd7e200b709d6c33b9f3b.tar.gz
kernel-qcow2-linux-ebea2a43fdafdbce918bd7e200b709d6c33b9f3b.tar.xz
kernel-qcow2-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>
-rw-r--r--arch/arm/boot/dts/tegra20-paz00.dts6
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;
};
};