diff options
author | Baolin Wang <baolin.wang@unisoc.com> | 2020-05-22 15:31:09 +0200 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2020-05-31 01:05:33 +0200 |
commit | ca27fc26cd2219d964b4fc0efac634ab237b6c8e (patch) | |
tree | d9c8c676b2940458a9ceabf4fe3c518775e5eed7 /drivers/mailbox/Kconfig | |
parent | dt-bindings: mailbox: Add the Spreadtrum mailbox documentation (diff) | |
download | linux-ca27fc26cd2219d964b4fc0efac634ab237b6c8e.tar.xz linux-ca27fc26cd2219d964b4fc0efac634ab237b6c8e.zip |
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>
Diffstat (limited to 'drivers/mailbox/Kconfig')
-rw-r--r-- | drivers/mailbox/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig index 5a577a6734cf..e03f3fb5caed 100644 --- a/drivers/mailbox/Kconfig +++ b/drivers/mailbox/Kconfig @@ -236,4 +236,12 @@ config SUN6I_MSGBOX various Allwinner SoCs. This mailbox is used for communication between the application CPUs and the power management coprocessor. +config SPRD_MBOX + tristate "Spreadtrum Mailbox" + depends on ARCH_SPRD || COMPILE_TEST + help + Mailbox driver implementation for the Spreadtrum platform. It is used + to send message between application processors and MCU. Say Y here if + you want to build the Spreatrum mailbox controller driver. + endif |