]> git.baikalelectronics.ru Git - uboot.git/commit
mailbox: apple: Add driver for Apple IOP mailbox
authorMark Kettenis <kettenis@openbsd.org>
Sat, 22 Jan 2022 19:38:12 +0000 (20:38 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 10 Feb 2022 21:44:23 +0000 (16:44 -0500)
commit713f2c260106242d6ce94a561423b48d47f4ca00
tree276a1772fd589ca0f7a516af29e22bfca17da09b
parente86ee82527dc3c52d5135d4fee4125b6fcdc19e1
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>
arch/arm/Kconfig
drivers/mailbox/Kconfig
drivers/mailbox/Makefile
drivers/mailbox/apple-mbox.c [new file with mode: 0644]
include/linux/apple-mailbox.h [new file with mode: 0644]