[PATCH v3 5/5] dm: input: add button_kbd driver
Simon Glass
sjg at chromium.org
Mon Jan 23 19:42:43 CET 2023
On Sun, 22 Jan 2023 at 08:21, Dzmitry Sankouski <dsankouski at gmail.com> wrote:
>
> Bootmenu requires an input device with arrows and enter key.
> A common smartphone luckily has power, volume up/down buttons,
> which may be used for controlling bootmenu.
> To use driver, add 'button-kbd' to stdin.
>
> Signed-off-by: Dzmitry Sankouski <dsankouski at gmail.com>
> ---
> Changes for v2:
> - add doc on driver private data struct
> - use calloc instead of malloc
> Changes for v3:
> - none
>
> drivers/input/Kconfig | 9 +++
> drivers/input/Makefile | 1 +
> drivers/input/button_kbd.c | 126 +++++++++++++++++++++++++++++++++++++
> 3 files changed, 136 insertions(+)
> create mode 100644 drivers/input/button_kbd.c
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list