[PATCH 7/9] arm64: dts: exynos: Use power key as a wakeup source on TM2/TM2E board

From: Chanwoo Choi
Date: Tue Jan 09 2018 - 02:59:21 EST


This patch uses the power-key as a wakeup source from suspend/freeze state.

Signed-off-by: Chanwoo Choi <cw00.choi@xxxxxxxxxxx>
---
arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
index a77462da4a36..26de0add1254 100644
--- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
@@ -60,6 +60,7 @@
linux,code = <KEY_POWER>;
label = "power key";
debounce-interval = <10>;
+ wakeup-source;
};

volume-up-key {
--
1.9.1