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:
Samuel Holland 2020-01-04 20:11:37 -06:00 committed by Maxime Ripard
parent 8614a5e972
commit ad39fc5b5f
No known key found for this signature in database
GPG Key ID: E3EF0D6F671851C5
1 changed files with 2 additions and 0 deletions
arch/arm64/boot/dts/allwinner

View File

@ -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>;
};
};