mailbox: cix: add Cixtech mailbox driver
Subsystems (2)
PATCH 2/2 mailbox: cix: add Cixtech mailbox driver
From: Guomin Chen <[email protected]>
This commit adds a driver for the Cixtech mailbox controller. Cixtech mailbox controller is used to exchange message within multiple processors, such as AP, AUDIO DSP, SensorHub MCU, etc. It support 10 mailbox channels with different operating mode and every channel is unidirectional.
Reviewed-by Peter Chen <[email protected]>
Signed-off-by Lihua Liu <[email protected]>
Signed-off-by Guomin Chen <[email protected]>
--- drivers/mailbox/Kconfig | 10 + drivers/mailbox/Makefile | 2 + drivers/mailbox/cix-mailbox.c | 633 ++++++++++++++++++++++++++++++++++ 3 files changed, 645 insertions(+) create mode 100644 drivers/mailbox/cix-mailbox.c
drivers/mailbox/Kconfig +10 -0
@@ -330,4 +330,14 @@ config THEAD_TH1520_MBOX kernel is running, and E902 core used for power management among other things. +config CIX_MBOX + tristate "CIX Mailbox" + depends on ARCH_CIX || COMPILE_TEST + depends on OF + help + Mailbox implementation for CIX IPC system. The controller supports + 10 mailbox channels with different operating mode and every channel + is unidirectional. Say Y here if you want to use the CIX Mailbox + support. + endif
drivers/mailbox/Makefile +2 -0
@@ -70,3 +70,5 @@ obj-$(CONFIG_QCOM_CPUCP_MBOX) += qcom-cpucp-mbox.o obj-$(CONFIG_QCOM_IPCC) += qcom-ipcc.o obj-$(CONFIG_THEAD_TH1520_MBOX) += mailbox-th1520.o + +obj-$(CONFIG_CIX_MBOX) += cix-mailbox.o
drivers/mailbox/cix-mailbox.c new file +633 -0
633 lines not on this page · raw message
Signature · 1 line
2.34.1