arm64: dts: allwinner: a64: pinebook: Fix lid wakeup
By default, gpio-keys configures the pin to trigger wakeup IRQs on either edge. The lid switch should only trigger wakeup when opening the lid, not when closing it. Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech>
This commit is contained in:
parent
8614a5e972
commit
ad39fc5b5f
arch/arm64/boot/dts/allwinner
|
@ -7,6 +7,7 @@
|
|||
#include "sun50i-a64.dtsi"
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/gpio-keys.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/pwm/pwm.h>
|
||||
|
||||
|
@ -57,6 +58,7 @@
|
|||
linux,code = <SW_LID>;
|
||||
linux,can-disable;
|
||||
wakeup-source;
|
||||
wakeup-event-action = <EV_ACT_DEASSERTED>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue