[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20221222193201.1552711-3-nfrayer@baylibre.com>
Date: Thu, 22 Dec 2022 20:32:01 +0100
From: Nicolas Frayer <nfrayer@...libre.com>
To: nm@...com, kristo@...nel.org, ssantosh@...nel.org,
tglx@...utronix.de, maz@...nel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-omap@...r.kernel.org
Cc: khilman@...libre.com, glaroque@...libre.com,
mkorpershoek@...libre.com, nfrayer@...libre.com
Subject: [PATCH v2 2/2] irqchip: Kconfig: Added module build support for the TI interrupt aggregator
Added module build support in Kconfig for the TI SCI interrupt aggregator
driver. The driver's default build is built-in and it also depends on
ARCH_K3 as the driver uses some 64 bit ops and should only be built
for 64 bit platforms.
Signed-off-by: Nicolas Frayer <nfrayer@...libre.com>
---
arch/arm64/Kconfig.platforms | 1 -
drivers/irqchip/Kconfig | 5 +++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 6ede8e105af52..26cd5021d265c 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
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index e773357e4ab03..77be35559168e 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
+ tristate "TI SCI INTA Interrupt Controller"
+ depends on ARCH_K3 && TI_SCI_PROTOCOL
select IRQ_DOMAIN_HIERARCHY
select TI_SCI_INTA_MSI_DOMAIN
+ 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
Powered by blists - more mailing lists