]> git.baikalelectronics.ru Git - uboot.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)
commit2409333646bd9acb3aa6010dc293f4e11848db81
tree67df97d7343a2fb11edd92a05b93c7bd609c417c
parent966a9aab6833a8898179aa093f766502be7bbc62
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]