]> git.baikalelectronics.ru Git - uboot.git/commit
dm: button: add support for linux_code in button-gpio.c driver
authorDzmitry Sankouski <dsankouski@gmail.com>
Sun, 22 Jan 2023 15:21:24 +0000 (18:21 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 17:50:01 +0000 (12:50 -0500)
commitab9be98167c0a2e058001cf46492caf2b795307a
tree7da52a5aafa491db923bb77352acaf08f268cd97
parentd086e228763a1cb41581149d39a8592b6d3e9021
dm: button: add support for linux_code in button-gpio.c driver

Linux event code must be used in input devices, using buttons.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
drivers/button/button-gpio.c
drivers/button/button-uclass.c
include/button.h
test/dm/button.c