mailbox: sun6i-msgbox: Add a new mailbox driver
authorSamuel Holland <samuel@sholland.org>
Sun, 23 Feb 2020 04:08:49 +0000 (22:08 -0600)
committerJassi Brar <jaswinder.singh@linaro.org>
Fri, 20 Mar 2020 04:00:32 +0000 (23:00 -0500)
commit25831c44b0b79ac6261d36d7e777a52bdf92f239
treeda0ee0a62fb9153ddafee30f1ab6a8ca6d013a9f
parentb543df9f4934ccc09a97c3e6b82ca7e4b856e266
mailbox: sun6i-msgbox: Add a new mailbox driver

Allwinner sun6i, sun8i, sun9i, and sun50i SoCs contain a hardware
message box used for communication between the ARM CPUs and the ARISC
management coprocessor. This mailbox contains 8 unidirectional
4-message FIFOs.

Add a driver for it, so it can be used with the Linux mailbox framework.

Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/Kconfig
drivers/mailbox/Makefile
drivers/mailbox/sun6i-msgbox.c [new file with mode: 0644]