diff options
author | Frank Li <Frank.Li@nxp.com> | 2022-09-22 19:12:43 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-09-29 19:11:37 +0300 |
commit | 70afdab904d2d1e68bffe75fe08e7e48e0b0ff8e (patch) | |
tree | 0f63ab98b8f752e8efa952d907a5cafa5c1399bf /drivers/irqchip/Kconfig | |
parent | 334f7d42db3eb0274aa6b4aba7ce14d87df3fef0 (diff) | |
download | linux-70afdab904d2d1e68bffe75fe08e7e48e0b0ff8e.tar.xz |
irqchip: Add IMX MU MSI controller driver
The MU block found in a number of Freescale/NXP SoCs supports generating
IRQs by writing data to a register.
This enables the MU block to be used as a MSI controller, by leveraging
the platform-MSI API.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
[maz: dropped pointless dma-iommu.h and of_pci.h includes]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220922161246.20586-4-Frank.Li@nxp.com
Diffstat (limited to 'drivers/irqchip/Kconfig')
-rw-r--r-- | drivers/irqchip/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 66b9fa408bf2..a213465f5118 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -481,6 +481,20 @@ config IMX_INTMUX help Support for the i.MX INTMUX interrupt multiplexer. +config IMX_MU_MSI + tristate "i.MX MU used as MSI controller" + depends on OF && HAS_IOMEM + default m if ARCH_MXC + select IRQ_DOMAIN + select IRQ_DOMAIN_HIERARCHY + select GENERIC_MSI_IRQ_DOMAIN + help + Provide a driver for the MU block used as a CPU-to-CPU MSI + controller. This requires a specially crafted DT to make use + of this driver. + + If unsure, say N + config LS1X_IRQ bool "Loongson-1 Interrupt Controller" depends on MACH_LOONGSON32 |