提交 a4c59646 编写于 作者: M Marc Dietrich 提交者: Xie XiuQi

ARM: dts: paz00: fix wakeup gpio keycode

[ Upstream commit ebea2a43 ]

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>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 72d72760
...@@ -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.
先完成此消息的编辑!
想要评论请 注册