summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/nvidia
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2018-11-28 19:47:25 +0300
committerThierry Reding <treding@nvidia.com>2018-12-03 18:31:33 +0300
commit6f13f10b3bbfed3b29c812f0f65bef802ce05e3c (patch)
treecc73a0e3ed4738f95c40e180798eba57b222ead7 /arch/arm64/boot/dts/nvidia
parentcfe3af19d95821e53fecc752ae26e057642b06b4 (diff)
downloadlinux-6f13f10b3bbfed3b29c812f0f65bef802ce05e3c.tar.xz
arm64: tegra: Fix power key interrupt type on Jetson TX2
In order for the correct interrupt type to be configured, the event action for the power key needs to be "asserted". Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm64/boot/dts/nvidia')
-rw-r--r--arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
index bd5305a634b1..9fc577a1ec44 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
@@ -2,6 +2,7 @@
/dts-v1/;
#include <dt-bindings/input/linux-event-codes.h>
+#include <dt-bindings/input/gpio-keys.h>
#include "tegra186-p3310.dtsi"
@@ -121,6 +122,7 @@
linux,input-type = <EV_KEY>;
linux,code = <KEY_POWER>;
debounce-interval = <10>;
+ wakeup-event-action = <EV_ACT_ASSERTED>;
wakeup-source;
};