Commit Graph
2 Commits
Author SHA1 Message Date
Cai Huoqing f5e2eeb9ff mailbox: sun6i: Make use of the helper function devm_platform_ioremap_resource()
Use the devm_platform_ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource()
separately

Signed-off-by: Cai Huoqing <[email protected]>
Signed-off-by: Jassi Brar <[email protected]>
2021-10-16 14:39:49 -05:00
Samuel Holland 25831c44b0 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 <[email protected]>
Signed-off-by: Samuel Holland <[email protected]>
Signed-off-by: Jassi Brar <[email protected]>
2020-03-19 23:00:32 -05:00