]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: Hi6220: add mailbox driver
authorLeo Yan <leo.yan@linaro.org>
Mon, 15 Feb 2016 13:50:24 +0000 (21:50 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Fri, 4 Mar 2016 07:02:20 +0000 (12:32 +0530)
commit55e91ef5ec5ced9e38054b8a7cd6adbf2202bbb1
treefb73aafb4e404eb590ffac665090749597d5184a
parent09c8a3fbdd5997297b86a0902be42de633fb3459
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>
drivers/mailbox/Kconfig
drivers/mailbox/Makefile
drivers/mailbox/hi6220-mailbox.c [new file with mode: 0644]