Commit 6f13f10b authored by Thierry Reding's avatar Thierry Reding

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: default avatarThierry Reding <treding@nvidia.com>
parent cfe3af19
......@@ -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 @@ power {
linux,input-type = <EV_KEY>;
linux,code = <KEY_POWER>;
debounce-interval = <10>;
wakeup-event-action = <EV_ACT_ASSERTED>;
wakeup-source;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment