u-boot/drivers/input
Hector Martin faf28c046e input: apple: Add support for Apple MTP keyboard
Apple M2 devices have an MTP coprocessor in charge of keyboard/trackpad
handling, communicating over a DockChannel interface. Add a simple
driver for this.

The keyboard does not require any initialization messages, but we have a
problem: we cannot reset the MTP so Linux can start it fresh, and it
delivers a number of informative packets on startup. To work around
this, we buffer those messages and re-inject them into the FIFO (which
is big enough to hold all of them) on shutdown, so Linux finds them when
it initializes its driver. The actual MTP coprocessor is quiesced, which
does work properly.

Signed-off-by: Hector Martin <marcan@marcan.st>
2024-04-02 20:56:02 +02:00
..
apple_kbd.c input: apple: Split off report handling into a separate file 2024-04-02 20:56:02 +02:00
apple_kbd.h input: apple: Split off report handling into a separate file 2024-04-02 20:56:02 +02:00
apple_mtp_kbd.c input: apple: Add support for Apple MTP keyboard 2024-04-02 20:56:02 +02:00
apple_spi_kbd.c input: apple: Split off report handling into a separate file 2024-04-02 20:56:02 +02:00
button_kbd.c input: button_kbd: make driver complementary to gpio buttons 2023-03-30 15:09:59 -04:00
cros_ec_keyb.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
i8042.c input: Flush the keyboard buffer before resetting it 2023-05-11 10:25:29 +08:00
input.c input: avoid NULL dereference 2023-10-11 10:35:24 -04:00
Kconfig input: apple: Add support for Apple MTP keyboard 2024-04-02 20:56:02 +02:00
key_matrix.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
keyboard-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
Makefile input: apple: Add support for Apple MTP keyboard 2024-04-02 20:56:02 +02:00
tegra-kbc.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
twl4030.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00