Skip to content

Commit fe2aa23

Browse files
Guomin Chenarndb
authored andcommitted
mailbox: add CIX mailbox driver
The CIX mailbox controller, used in the Cix SoCs, like sky1. facilitates message transmission between multiple processors within the SoC, such as the AP, PM, audio DSP, SensorHub MCU, and others. Acked-by: Jassi Brar <[email protected]> Reviewed-by: Peter Chen <[email protected]> Signed-off-by: Guomin Chen <[email protected]> Signed-off-by: Gary Yang <[email protected]> Signed-off-by: Lihua Liu <[email protected]> Signed-off-by: Peter Chen <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 621d7d0 commit fe2aa23

File tree

3 files changed

+657
-0
lines changed

3 files changed

+657
-0
lines changed

drivers/mailbox/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,4 +330,14 @@ config THEAD_TH1520_MBOX
330330
kernel is running, and E902 core used for power management among other
331331
things.
332332

333+
config CIX_MBOX
334+
tristate "CIX Mailbox"
335+
depends on ARCH_CIX || COMPILE_TEST
336+
depends on OF
337+
help
338+
Mailbox implementation for CIX IPC system. The controller supports
339+
11 mailbox channels with different operating mode and every channel
340+
is unidirectional. Say Y here if you want to use the CIX Mailbox
341+
support.
342+
333343
endif

drivers/mailbox/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,5 @@ obj-$(CONFIG_QCOM_CPUCP_MBOX) += qcom-cpucp-mbox.o
7070
obj-$(CONFIG_QCOM_IPCC) += qcom-ipcc.o
7171

7272
obj-$(CONFIG_THEAD_TH1520_MBOX) += mailbox-th1520.o
73+
74+
obj-$(CONFIG_CIX_MBOX) += cix-mailbox.o

0 commit comments

Comments
 (0)