From: Samuel Holland Date: Wed, 13 Jan 2021 04:05:42 +0000 (-0600) Subject: arm64: dts: allwinner: pinephone: Support volume key wakeup X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0b26926a96429bda01a261d2c2a6faa1ef3b8e7b;p=linux.git arm64: dts: allwinner: pinephone: Support volume key wakeup PinePhone volume keys are connected to the LRADC in the A64. Users may want to use them to wake the device from sleep. Support this by declaring the LRADC as a wakeup source. Reviewed-by: Hans de Goede Signed-off-by: Samuel Holland Signed-off-by: Maxime Ripard Link: https://lore.kernel.org/r/20210113040542.34247-4-samuel@sholland.org --- diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi index 2dfe9bae8c67f..7f37f9fea0ab2 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi @@ -196,6 +196,7 @@ &lradc { vref-supply = <®_aldo3>; + wakeup-source; status = "okay"; button-200 {