Skip to content

Apple M1 laptop keyboard support

Mark Kettenis u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2spi: apple: Add driver for Apple SPI controllerarch/arm/Kconfig drivers/spi/Kconfig drivers/spi/Makefile +1 more+295 -01 reply
2/2input: apple: Add support for Apple SPI keyboardconfigs/apple_m1_defconfig drivers/input/Kconfig drivers/input/Makefile +2 more+282 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/2R-b T-b
2/2R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Apple M1 laptop keyboard support

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.

ChangeLog:

v2: - Drop delay after enabling controller
- Check for errors in spi calls
- Add comments

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 | 271 ++++++++++++++++++++++++++++++++
 drivers/spi/Kconfig           |   7 +
 drivers/spi/Makefile          |   1 +
 drivers/spi/apple_spi.c       | 285 ++++++++++++++++++++++++++++++++++
 include/configs/apple.h       |   2 +-
 9 files changed, 577 insertions(+), 1 deletion(-)
 create mode 100644 drivers/input/apple_spi_kbd.c
 create mode 100644 drivers/spi/apple_spi.c
Signature · 1 line
2.34.1