Skip to content

Commit ca1a868

Browse files
cris-maJassi Brar
authored andcommitted
mailbox: arm_mhuv3: Add driver
Add support for ARM MHUv3 mailbox controller. Support is limited to the MHUv3 Doorbell extension using only the PBX/MBX combined interrupts. Signed-off-by: Cristian Marussi <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent cd25197 commit ca1a868

File tree

4 files changed

+1126
-0
lines changed

4 files changed

+1126
-0
lines changed

MAINTAINERS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12994,6 +12994,15 @@ F: Documentation/devicetree/bindings/mailbox/arm,mhuv2.yaml
1299412994
F: drivers/mailbox/arm_mhuv2.c
1299512995
F: include/linux/mailbox/arm_mhuv2_message.h
1299612996

12997+
MAILBOX ARM MHUv3
12998+
M: Sudeep Holla <[email protected]>
12999+
M: Cristian Marussi <[email protected]>
13000+
13001+
L: [email protected] (moderated for non-subscribers)
13002+
S: Maintained
13003+
F: Documentation/devicetree/bindings/mailbox/arm,mhuv3.yaml
13004+
F: drivers/mailbox/arm_mhuv3.c
13005+
1299713006
MAN-PAGES: MANUAL PAGES FOR LINUX -- Sections 2, 3, 4, 5, and 7
1299813007
M: Alejandro Colomar <[email protected]>
1299913008

drivers/mailbox/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ config ARM_MHU_V2
2323
Say Y here if you want to build the ARM MHUv2 controller driver,
2424
which provides unidirectional mailboxes between processing elements.
2525

26+
config ARM_MHU_V3
27+
tristate "ARM MHUv3 Mailbox"
28+
depends on HAS_IOMEM || COMPILE_TEST
29+
depends on OF
30+
help
31+
Say Y here if you want to build the ARM MHUv3 controller driver,
32+
which provides unidirectional mailboxes between processing elements.
33+
34+
ARM MHUv3 controllers can implement a varying number of extensions
35+
that provides different means of transports: supported extensions
36+
will be discovered and possibly managed at probe-time.
37+
2638
config IMX_MBOX
2739
tristate "i.MX Mailbox"
2840
depends on ARCH_MXC || COMPILE_TEST

drivers/mailbox/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ obj-$(CONFIG_ARM_MHU) += arm_mhu.o arm_mhu_db.o
99

1010
obj-$(CONFIG_ARM_MHU_V2) += arm_mhuv2.o
1111

12+
obj-$(CONFIG_ARM_MHU_V3) += arm_mhuv3.o
13+
1214
obj-$(CONFIG_IMX_MBOX) += imx-mailbox.o
1315

1416
obj-$(CONFIG_ARMADA_37XX_RWTM_MBOX) += armada-37xx-rwtm-mailbox.o

0 commit comments

Comments
 (0)