]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: button: add a driver for button driven by gpio
authorPhilippe Reynes <philippe.reynes@softathome.com>
Fri, 24 Jul 2020 16:19:46 +0000 (18:19 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 29 Jul 2020 01:30:39 +0000 (19:30 -0600)
commit486b973ee9b9bd89ff53bc9d3d1cff4ada73eb36
tree67df97d7343a2fb11edd92a05b93c7bd609c417c
parent30d66db78725e8396a3bd255cc51592c6cd7879d
dm: button: add a driver for button driven by gpio

Add a simple driver which allows use of buttons attached to GPIOs.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
drivers/button/Kconfig
drivers/button/Makefile
drivers/button/button-gpio.c [new file with mode: 0644]