]> git.karo-electronics.de Git - linux-beck.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)
commitf70ed3b5dc8b0810a01a24b198eca3f562aedc14
treed4cf1f751bf836ff32d105791eb3b0721e5f8fac
parenta7065bc37b6764df681d12b1059415a0a262c4e0
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]