Re: [PATCH v3 4/5] dm: button: add support for linux_code in button-gpio.c driver

2023-02-10 Thread Tom Rini
On Sun, Jan 22, 2023 at 06:21:24PM +0300, Dzmitry Sankouski wrote: > Linux event code must be used in input devices, using buttons. > > Signed-off-by: Dzmitry Sankouski > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v3 4/5] dm: button: add support for linux_code in button-gpio.c driver

2023-01-23 Thread Simon Glass
On Sun, 22 Jan 2023 at 08:22, Dzmitry Sankouski wrote: > > Linux event code must be used in input devices, using buttons. > > Signed-off-by: Dzmitry Sankouski > --- > Changes for v2: > - fail, if linux,code not found > Changes for v3: > - add test for linux,code > - change linux,code type to int

[PATCH v3 4/5] dm: button: add support for linux_code in button-gpio.c driver

2023-01-22 Thread Dzmitry Sankouski
Linux event code must be used in input devices, using buttons. Signed-off-by: Dzmitry Sankouski --- Changes for v2: - fail, if linux,code not found Changes for v3: - add test for linux,code - change linux,code type to int - new line after return - add specific error code in function docs arch/s