Skip to content
Commit b243018e authored by Ondrej Jirman's avatar Ondrej Jirman Committed by Dmitry Torokhov
Browse files

Input: sun4i-lradc-keys - add wakeup support



Allow the driver to wake the system on key press if the "wakeup-source"
property is provided in the device tree. Using the LRADC as a wakeup
source requires keeping the AVCC domain active during sleep. Since this
has a nontrivial impact on power consumption (sometimes doubling it),
disable the LRADC wakeup source by default.

Signed-off-by: default avatarOndrej Jirman <x@xff.cz>
Acked-by: default avatarJernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20220424161328.61103-1-samuel@sholland.org


Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent be8fc023
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment