summaryrefslogtreecommitdiff
path: root/drivers/mailbox/Kconfig
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@unisoc.com>2020-05-22 21:31:09 +0800
committerJassi Brar <jaswinder.singh@linaro.org>2020-05-30 18:05:33 -0500
commitca27fc26cd2219d964b4fc0efac634ab237b6c8e (patch)
treed9c8c676b2940458a9ceabf4fe3c518775e5eed7 /drivers/mailbox/Kconfig
parentfa75386538e5284a2e3ec2afe0c15c0532fb54d2 (diff)
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/Kconfig8
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