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 <jassisinghbrar@gmail.com> Reviewed-by: Peter Chen <peter.chen@cixtech.com> Signed-off-by: Guomin Chen <Guomin.Chen@cixtech.com> Signed-off-by: Gary Yang <gary.yang@cixtech.com> Signed-off-by: Lihua Liu <Lihua.Liu@cixtech.com> Signed-off-by: Peter Chen <peter.chen@cixtech.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 621d7d0 commit fe2aa23

3 files changed

Lines changed: 657 additions & 0 deletions

File tree

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)