summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2021-01-12 22:05:42 -0600
committerMaxime Ripard <maxime@cerno.tech>2021-01-13 09:28:56 +0100
commit0b26926a96429bda01a261d2c2a6faa1ef3b8e7b (patch)
tree4cd90d31f68b6eca781379b862e584d50604aefa
parent7f230c86de7d3ae11aec87e712caf63b5ed7f593 (diff)
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 <hdegoede@redhat.com> Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20210113040542.34247-4-samuel@sholland.org
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
index 2dfe9bae8c67..7f37f9fea0ab 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 = <&reg_aldo3>;
+ wakeup-source;
status = "okay";
button-200 {