input: atc260x: Add onkey driver for ATC260x PMICs
authorCristian Ciocaltea <cristian.ciocaltea@gmail.com>
Tue, 26 Jan 2021 09:56:00 +0000 (11:56 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 10 Mar 2021 11:10:30 +0000 (11:10 +0000)
commit44f6b6a50ee3ff91baef7c99d9552aa5b97a890e
tree68e5464708fb4aee87fec6c70ff7919040ade44f
parentf7cb7fe34db9f32e8b1c13ecc823112480b875f8
input: atc260x: Add onkey driver for ATC260x PMICs

The Actions Semi ATC260x PMICs are able to manage an onkey button.
This driver exposes the ATC260x onkey as an input device. It can also
be configured to force a system reset on a long key-press with an
adjustable duration.

The currently supported chip variants are ATC2603C and ATC2609A.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/input/misc/Kconfig
drivers/input/misc/Makefile
drivers/input/misc/atc260x-onkey.c [new file with mode: 0644]