summaryrefslogtreecommitdiff
path: root/drivers/button
AgeCommit message (Collapse)AuthorFilesLines
2020-07-29dm: button: add a driver for button driven by gpioPhilippe Reynes3-0/+122
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>
2020-07-29dm: button: add an uclass for buttonPhilippe Reynes3-0/+60
Add a new uclass for button that implements two functions: - button_get_by_label - button_get_status Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>