]> 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)
commitec300826a517f57660faaaa4b5351847f2ceb4a2
tree73c3bcc30778827f7f45d8685cccb54f9968bff5
parent184b27f3675216ddc765f1a69bd97304ed5d9899
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