button: add a simple Analog to Digital Converter device based button driver
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 18 Feb 2021 10:33:15 +0000 (11:33 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Thu, 18 Feb 2021 10:37:26 +0000 (11:37 +0100)
commitc0165c85c3b149a86740fd649b54d5e988fab457
treeb3da536020a3eb73d02a99bb8dff1d616c0a453a
parente1b03d6b0bb96157ac9abb8ff4c959da4daa3941
button: add a simple Analog to Digital Converter device based button driver

Add a simple Analog to Digital Converter device based button driver. This
driver binds to the 'adc-keys' device tree node.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/button/Kconfig
drivers/button/Makefile
drivers/button/button-adc.c [new file with mode: 0644]