]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: apple: Add driver for Apple SPI controller
authorMark Kettenis <kettenis@openbsd.org>
Sun, 23 Jan 2022 15:48:12 +0000 (16:48 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 10 Feb 2022 21:44:23 +0000 (16:44 -0500)
commit7184e2997e7d97ba3e697a0acc1800ddd89d3f6d
tree0d2524e4825f1afcb9008ed91f2cda7a69c293c0
parentdbb273a5b6c02fd5a191ce4c059c596439a839fe
spi: apple: Add driver for Apple SPI controller

Add a driver for the SPI controller integrated on Apple SoCs.
This is necessary to support the keyboard on Apple Silicon laopts
since their keyboard uses an Apple-specific HID over SPI protocol.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested on: Macbook Air M1
Tested-by: Simon Glass <sjg@chromium.org>
arch/arm/Kconfig
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/apple_spi.c [new file with mode: 0644]