]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: rockchip: Add Rockchip mailbox driver
authorCaesar Wang <wxt@rock-chips.com>
Tue, 27 Oct 2015 07:31:45 +0000 (15:31 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Fri, 11 Mar 2016 03:40:06 +0000 (10:40 +0700)
commit18380a9ea65d87c99e2edf94e1335f901f8d2821
treed4cf1f751bf836ff32d105791eb3b0721e5f8fac
parentff9a45395de60b1351b4290c3c64ae8b57e2d3e6
mailbox: rockchip: Add Rockchip mailbox driver

This driver is found on RK3368 SoCs.

The Mailbox module is a simple APB peripheral that allows both
the Cortex-A53 MCU system to communicate by writing operation to
generate interrupt.
The registers are accessible by both CPU via APB interface.

The Mailbox has the following main features:

1) Support dual-core system: Cortex-A53 and MCU.
2) Support APB interface.
3) Support four mailbox elements, each element includes one data word,
   one command word register and one flag bit that can represent
   one interrupt.
4) Four interrupts to Cortex-A53.
5) Four interrupts to MCU.
6) Provide 32 lock registers for software to use to indicate whether
   mailbox is occupied.

[Jassi: Removed unused variable buf_base]

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/Kconfig
drivers/mailbox/Makefile
drivers/mailbox/rockchip-mailbox.c [new file with mode: 0644]