[PATCH 2/2] irqchip: Kconfig: Added module build support for the TI interrupt aggregator

Nicolas Frayer
2022-11-16T18:56:16Z

Added module build support in Kconfig for the TI SCI interrupt aggregator
driver

Signed-off-by: Nicolas Frayer <nfrayer@baylibre.com>
---
arch/arm64/Kconfig.platforms | 1 -
drivers/irqchip/Kconfig | 7 ++++---
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 2ee8de238b39..d9f0a93f3826 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -128,7 +128,6 @@ config ARCH_K3
select SOC_TI
select TI_MESSAGE_MANAGER
select TI_SCI_PROTOCOL
- select TI_SCI_INTA_IRQCHIP
select TI_K3_SOCINFO
help
This enables support for Texas Instruments' K3 multicore SoC
architecture.
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index ea79d2499372..7d5dd130d16f 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -517,10 +517,11 @@ config TI_SCI_INTR_IRQCHIP
TI System Controller, say Y here. Otherwise, say N.

config TI_SCI_INTA_IRQCHIP
- bool
- depends on TI_SCI_PROTOCOL
- select IRQ_DOMAIN_HIERARCHY
+ tristate "TI SCI INTA Interrupt Controller"
+ select TI_SCI_PROTOCOL
select TI_SCI_INTA_MSI_DOMAIN
+ select IRQ_DOMAIN_HIERARCHY
+ default ARCH_K3
help
This enables the irqchip driver support for K3 Interrupt aggregator
over TI System Control Interface available on some new TI's SoCs.
--
2.25.1