mailbox: add for Phytium SoCs
Subsystems (2)
PATCH 1/1 mailbox: add for Phytium SoCs
Add mailbox for Phytium SoC family.
Signed-off-by Wang Honghui <[email protected]>
--- arch/arm64/Kconfig.platforms | 10 +- drivers/mailbox/Kconfig | 6 + drivers/mailbox/Makefile | 2 + drivers/mailbox/phytium_mailbox.c | 193 ++++++++++++++++++++++++++++++ 4 files changed, 206 insertions(+), 5 deletions(-) create mode 100644 drivers/mailbox/phytium_mailbox.c
arch/arm64/Kconfig.platforms +5 -5
@@ -236,11 +236,6 @@ config ARCH_NPCM General support for NPCM8xx BMC (Arbel). Nuvoton NPCM8xx BMC based on the Cortex A35. -config ARCH_PHYTIUM - bool "Phytium SoC Family" - help - This enables support for Phytium ARMv8 SoC family. - config ARCH_QCOM bool "Qualcomm Platforms" select GPIOLIB
@@ -248,6 +243,11 @@ config ARCH_QCOM help This enables support for the ARMv8 based Qualcomm chipsets. +config ARCH_PHYTIUM + bool "Phytium SoC Family" + help + This enables support for Phytium ARMv8 SoC family. + config ARCH_REALTEK bool "Realtek Platforms" select RESET_CONTROLLER
drivers/mailbox/Kconfig +6 -0
@@ -41,6 +41,12 @@ config IMX_MBOX help Mailbox implementation for i.MX Messaging Unit (MU). +config PHYTIUM_MBOX + tristate "Phytium SoC Mailbox Support" + depends on ARCH_PHYTIUM || COMPILE_TEST + help + This driver provides the support for the Phytium mailbox controller. + config PLATFORM_MHU tristate "Platform MHU Mailbox" depends on OF
drivers/mailbox/Makefile +2 -0
@@ -11,6 +11,8 @@ obj-$(CONFIG_ARM_MHU_V2) += arm_mhuv2.o obj-$(CONFIG_IMX_MBOX) += imx-mailbox.o +obj-$(CONFIG_PHYTIUM_MBOX) += phytium_mailbox.o + obj-$(CONFIG_ARMADA_37XX_RWTM_MBOX) += armada-37xx-rwtm-mailbox.o obj-$(CONFIG_PLATFORM_MHU) += platform_mhu.o
drivers/mailbox/phytium_mailbox.c new file +193 -0
193 lines not on this page · raw message
Signature · 1 line
2.34.1