Re: [PATCH v4] Input: sun4i-lradc-keys - Add wakup support
From: Jernej Škrabec
Date: Fri Nov 19 2021 - 10:49:05 EST
Hi!
Dne petek, 19. november 2021 ob 03:54:15 CET je Samuel Holland napisal(a):
> From: Ondrej Jirman <megous@xxxxxxxxxx>
>
> 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: Ondrej Jirman <megous@xxxxxxxxxx>
> Signed-off-by: Samuel Holland <samuel@xxxxxxxxxxxx>
Acked-by: Jernej Skrabec <jernej.skrabec@xxxxxxxxx>
Best regards,
Jernej