mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
faf28c046e
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> |
||
---|---|---|
.. | ||
apple_kbd.c | ||
apple_kbd.h | ||
apple_mtp_kbd.c | ||
apple_spi_kbd.c | ||
button_kbd.c | ||
cros_ec_keyb.c | ||
i8042.c | ||
input.c | ||
Kconfig | ||
key_matrix.c | ||
keyboard-uclass.c | ||
Makefile | ||
tegra-kbc.c | ||
twl4030.c |