summaryrefslogtreecommitdiff
path: root/drivers/mailbox/Kconfig
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2016-02-15 21:50:24 +0800
committerJassi Brar <jaswinder.singh@linaro.org>2016-03-04 12:32:20 +0530
commit9c384189f5407565141f1a950d8350e56d86b4dd (patch)
treefb73aafb4e404eb590ffac665090749597d5184a /drivers/mailbox/Kconfig
parent1cb17866f04cb48aa55459e7f5cb632a9c007fb4 (diff)
mailbox: Hi6220: add mailbox driver
Add driver for Hi6220 mailbox, the mailbox communicates with MCU; for sending data, it can support two methods for low level implementation: one is to use interrupt as acknowledge, another is automatic mode which without any acknowledge. These two methods have been supported in the driver. For receiving data, it will depend on the interrupt to notify the channel has incoming message. Now mailbox driver is used to send message to MCU to control dynamic voltage and frequency scaling for CPU, GPU and DDR. Signed-off-by: Leo Yan <leo.yan@linaro.org> 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 1107666110af..642da1c812bf 100644
--- a/drivers/mailbox/Kconfig
+++ b/drivers/mailbox/Kconfig
@@ -78,6 +78,14 @@ config STI_MBOX
Mailbox implementation for STMicroelectonics family chips with
hardware for interprocessor communication.
+config HI6220_MBOX
+ tristate "Hi6220 Mailbox"
+ depends on ARCH_HISI
+ help
+ An implementation of the hi6220 mailbox. It is used to send message
+ between application processors and MCU. Say Y here if you want to
+ build Hi6220 mailbox controller driver.
+
config MAILBOX_TEST
tristate "Mailbox Test Client"
depends on OF