diff options
author | Leo Yan <leo.yan@linaro.org> | 2016-02-15 16:50:24 +0300 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2016-03-04 10:02:20 +0300 |
commit | 9c384189f5407565141f1a950d8350e56d86b4dd (patch) | |
tree | fb73aafb4e404eb590ffac665090749597d5184a /drivers/mailbox/Kconfig | |
parent | 1cb17866f04cb48aa55459e7f5cb632a9c007fb4 (diff) | |
download | linux-9c384189f5407565141f1a950d8350e56d86b4dd.tar.xz |
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/Kconfig | 8 |
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 |