]> git.dujemihanovic.xyz Git - u-boot.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)
commitea6fdc135954186ada5df9cca3f063a9a785d1b2
tree7da52a5aafa491db923bb77352acaf08f268cd97
parent298ffdd5d65c4d67b958080c1a712f8f1c923af3
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