summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@openbsd.org>2022-01-22 22:38:12 +0300
committerTom Rini <trini@konsulko.com>2022-02-11 00:44:23 +0300
commit456305ec597908536e8e0de32dade43f9db00e8c (patch)
tree276a1772fd589ca0f7a516af29e22bfca17da09b /arch
parent045474be5ebca9d4491572c134a8288b19f5e14a (diff)
downloadu-boot-456305ec597908536e8e0de32dade43f9db00e8c.tar.xz
mailbox: apple: Add driver for Apple IOP mailbox
This mailbox driver provides a communication channel with the Apple IOP controllers found on Apple SoCs. These IOP controllers are used to implement various functions such as the System Manegement Controller (SMC) and NVMe storage. It allows sending and receiving a 96-bit message over a single channel. The header file with the struct used for mailbox messages is taken straight from Linux. Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Signed-off-by: Sven Peter <sven@svenpeter.dev> 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/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 9a62b55786..ce51d87ac0 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -931,6 +931,7 @@ config ARCH_APPLE
select DM
select DM_GPIO
select DM_KEYBOARD
+ select DM_MAILBOX
select DM_SERIAL
select DM_USB
select DM_VIDEO