]> git.baikalelectronics.ru Git - kernel.git/commit
Input: sun4i-lradc-keys - add optional clock/reset support
authorSamuel Holland <samuel@sholland.org>
Mon, 25 Apr 2022 03:39:11 +0000 (20:39 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 5 May 2022 17:23:49 +0000 (10:23 -0700)
commitac2d5b43ea1676ca99397eb355ca68fab44172e4
tree73c3bcc30778827f7f45d8685cccb54f9968bff5
parent61f19f67490bf3f459d2e67f2a70588a9c4c8cda
Input: sun4i-lradc-keys - add optional clock/reset support

Until the R329, the LRADC hardware was always active. Now it requires
enabling a clock gate and deasserting a reset line. Add support for this
variant of the hardware.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20220414002349.24332-2-samuel@sholland.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/sun4i-lradc-keys.c