mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
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>
This commit is contained in:
parent
cfe3af19d9
commit
6f13f10b3b
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue