diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2022-01-23 16:48:12 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-10 16:44:23 -0500 |
commit | 7184e2997e7d97ba3e697a0acc1800ddd89d3f6d (patch) | |
tree | 0d2524e4825f1afcb9008ed91f2cda7a69c293c0 /arch | |
parent | dbb273a5b6c02fd5a191ce4c059c596439a839fe (diff) | |
download | u-boot-7184e2997e7d97ba3e697a0acc1800ddd89d3f6d.zip u-boot-7184e2997e7d97ba3e697a0acc1800ddd89d3f6d.tar.gz u-boot-7184e2997e7d97ba3e697a0acc1800ddd89d3f6d.tar.bz2 |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 5048d3d..8053394 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -934,6 +934,7 @@ config ARCH_APPLE select DM_MAILBOX select DM_RESET select DM_SERIAL + select DM_SPI select DM_USB select DM_VIDEO select IOMMU @@ -943,6 +944,7 @@ config ARCH_APPLE select POSITION_INDEPENDENT select POWER_DOMAIN select REGMAP + select SPI select SYSCON select SYSRESET select SYSRESET_WATCHDOG |