]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c06060d1518ec3338ff9da40431c2472489da6f
tree68e5464708fb4aee87fec6c70ff7919040ade44f
parentf970ccb236b0a1ebe2fd998105b38dca9d2b83d1
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]