mailbox: sprd: Add Spreadtrum mailbox driver
authorBaolin Wang <baolin.wang@unisoc.com>
Fri, 22 May 2020 13:31:09 +0000 (21:31 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 30 May 2020 23:05:33 +0000 (18:05 -0500)
commitca27fc26cd2219d964b4fc0efac634ab237b6c8e
treed9c8c676b2940458a9ceabf4fe3c518775e5eed7
parentfa75386538e5284a2e3ec2afe0c15c0532fb54d2
mailbox: sprd: Add Spreadtrum mailbox driver

The Spreadtrum mailbox controller supports 8 channels to communicate
with MCUs, and it contains 2 different parts: inbox and outbox, which
are used to send and receive messages by IRQ mode.

Signed-off-by: Baolin Wang <baolin.wang@unisoc.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/Kconfig
drivers/mailbox/Makefile
drivers/mailbox/sprd-mailbox.c [new file with mode: 0644]