Skip to content

Commit

Permalink
arm64: dts: allwinner: pinephone: Support volume key wakeup
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Samuel Holland authored and Maxime Ripard committed Jan 13, 2021
1 parent 7f230c8 commit 0b26926
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@

&lradc {
vref-supply = <&reg_aldo3>;
wakeup-source;
status = "okay";

button-200 {
Expand Down

0 comments on commit 0b26926

Please sign in to comment.