[PATCH 0/4] input: add CONFIG_INPUT_EVBUG debug option

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Apr 2 06:50:31 PDT 2024


Incorrectly specified or configured gpio-keys may cause the barebox
boot to abort. To help debugging such issues, add a CONFIG_INPUT_EVBUG
option similar to Linux, which will print a debug message every time
a key event is reported.

Ahmad Fatoum (4):
  input: record parent device at registration time
  input: add CONFIG_INPUT_EVBUG debug option
  input: imx-keypad: remove now-duplicate debug messages
  input: gpio-keys: drop now-superfluous struct gpio_keys::dev

 drivers/input/Kconfig        | 11 +++++++++++
 drivers/input/gpio_keys.c    |  6 ++----
 drivers/input/imx_keypad.c   |  7 +------
 drivers/input/input.c        | 11 +++++++++++
 drivers/input/usb_kbd.c      |  1 +
 drivers/input/virtio_input.c |  1 +
 include/input/input.h        |  1 +
 7 files changed, 28 insertions(+), 10 deletions(-)

-- 
2.39.2




More information about the barebox mailing list