Message ID | 20180306075123.20989-2-jeffy.chen@rock-chips.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts index 191a6bcb1704..89126dbe5d91 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts @@ -44,6 +44,7 @@ /dts-v1/; #include "rk3399-gru.dtsi" +#include <dt-bindings/input/gpio-keys.h> #include <dt-bindings/input/linux-event-codes.h> /* @@ -134,6 +135,8 @@ gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; linux,code = <SW_PEN_INSERTED>; linux,input-type = <EV_SW>; + /* Wakeup only when ejecting */ + wakeup-event-action = <EV_ACT_DEASSERTED>; wakeup-source; }; };