Skip to content

Commit 4981b82

Browse files
Wendy LiangJassiBrar
authored andcommitted
mailbox: ZynqMP IPI mailbox controller
This patch is to introduce ZynqMP IPI mailbox controller driver to use the ZynqMP IPI block as mailboxes. Signed-off-by: Wendy Liang <wendy.liang@xilinx.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
1 parent 419d67f commit 4981b82

File tree

4 files changed

+758
-0
lines changed

4 files changed

+758
-0
lines changed

drivers/mailbox/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,4 +205,15 @@ config MTK_CMDQ_MBOX
205205
mailbox driver. The CMDQ is used to help read/write registers with
206206
critical time limitation, such as updating display configuration
207207
during the vblank.
208+
209+
config ZYNQMP_IPI_MBOX
210+
bool "Xilinx ZynqMP IPI Mailbox"
211+
depends on ARCH_ZYNQMP && OF
212+
help
213+
Say yes here to add support for Xilinx IPI mailbox driver.
214+
This mailbox driver is used to send notification or short message
215+
between processors with Xilinx ZynqMP IPI. It will place the
216+
message to the IPI buffer and will access the IPI control
217+
registers to kick the other processor or enquire status.
218+
208219
endif

drivers/mailbox/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@ obj-$(CONFIG_TEGRA_HSP_MBOX) += tegra-hsp.o
4444
obj-$(CONFIG_STM32_IPCC) += stm32-ipcc.o
4545

4646
obj-$(CONFIG_MTK_CMDQ_MBOX) += mtk-cmdq-mailbox.o
47+
48+
obj-$(CONFIG_ZYNQMP_IPI_MBOX) += zynqmp-ipi-mailbox.o

0 commit comments

Comments
 (0)