All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Apple M1 laptop keyboard support
@ 2022-01-16 17:06 Mark Kettenis
  2022-01-16 17:06 ` [PATCH 1/2] spi: apple: Add driver for Apple SPI controller Mark Kettenis
  2022-01-16 17:06 ` [PATCH 2/2] input: apple: Add support for Apple SPI keyboard Mark Kettenis
  0 siblings, 2 replies; 7+ messages in thread
From: Mark Kettenis @ 2022-01-16 17:06 UTC (permalink / raw)
  To: u-boot; +Cc: jagan, marcan, sjg, trini, Mark Kettenis

This short series implements support for the laptop keyboards on the
Apple Silicon Mac laptops.  These keyboards are connected to an SPI
bus, so this adds a driver for the SPI controller integrated on the
SoC, as well as the driver for the keyboard itself.  This makes it
possible to interact with U-Boot and EFI applications without the
need for an external USB keyboard.


Mark Kettenis (2):
  spi: apple: Add driver for Apple SPI controller
  input: apple: Add support for Apple SPI keyboard

 arch/arm/Kconfig              |   2 +
 configs/apple_m1_defconfig    |   1 +
 drivers/input/Kconfig         |   8 +
 drivers/input/Makefile        |   1 +
 drivers/input/apple_spi_kbd.c | 255 ++++++++++++++++++++++++++++++
 drivers/spi/Kconfig           |   7 +
 drivers/spi/Makefile          |   1 +
 drivers/spi/apple_spi.c       | 283 ++++++++++++++++++++++++++++++++++
 include/configs/apple.h       |   2 +-
 9 files changed, 559 insertions(+), 1 deletion(-)
 create mode 100644 drivers/input/apple_spi_kbd.c
 create mode 100644 drivers/spi/apple_spi.c

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-01-22 16:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-16 17:06 [PATCH 0/2] Apple M1 laptop keyboard support Mark Kettenis
2022-01-16 17:06 ` [PATCH 1/2] spi: apple: Add driver for Apple SPI controller Mark Kettenis
2022-01-22  1:40   ` Simon Glass
2022-01-22 15:53     ` Mark Kettenis
2022-01-16 17:06 ` [PATCH 2/2] input: apple: Add support for Apple SPI keyboard Mark Kettenis
2022-01-22  1:40   ` Simon Glass
2022-01-22 16:26     ` Mark Kettenis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.