提交 ebea2a43 编写于 作者: M Marc Dietrich 提交者: Thierry Reding

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: NMarc Dietrich <marvin24@gmx.de>
Tested-by: NNicolas Chauvet <kwizart@gmail.com>
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 06d561ca
...@@ -524,10 +524,10 @@ ...@@ -524,10 +524,10 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
power { wakeup {
label = "Power"; label = "Wakeup";
gpios = <&gpio TEGRA_GPIO(J, 7) GPIO_ACTIVE_LOW>; gpios = <&gpio TEGRA_GPIO(J, 7) GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>; linux,code = <KEY_WAKEUP>;
wakeup-source; wakeup-source;
}; };
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册