Skip to content

Commit b8b26ae

Browse files
Nicolas FrayerKAGA-KOKO
authored andcommitted
irqchip/ti-sci-inta : Add module build support
Add 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 <[email protected]> Signed-off-by: Guillaume La Roque <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Nishanth Menon <[email protected]> Link: https://lore.kernel.org/all/[email protected]
1 parent 2d95ffa commit b8b26ae

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

arch/arm64/Kconfig.platforms

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ config ARCH_K3
135135
select SOC_TI
136136
select TI_MESSAGE_MANAGER
137137
select TI_SCI_PROTOCOL
138-
select TI_SCI_INTA_IRQCHIP
139138
select TI_K3_SOCINFO
140139
help
141140
This enables support for Texas Instruments' K3 multicore SoC

drivers/irqchip/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,8 +545,9 @@ config TI_SCI_INTR_IRQCHIP
545545
TI System Controller, say Y here. Otherwise, say N.
546546

547547
config TI_SCI_INTA_IRQCHIP
548-
bool
548+
tristate "TI SCI INTA Interrupt Controller"
549549
depends on TI_SCI_PROTOCOL
550+
depends on ARCH_K3 || (COMPILE_TEST && ARM64)
550551
select IRQ_DOMAIN_HIERARCHY
551552
select TI_SCI_INTA_MSI_DOMAIN
552553
help

drivers/irqchip/irq-ti-sci-inta.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,3 +743,4 @@ module_platform_driver(ti_sci_inta_irq_domain_driver);
743743

744744
MODULE_AUTHOR("Lokesh Vutla <[email protected]>");
745745
MODULE_DESCRIPTION("K3 Interrupt Aggregator driver over TI SCI protocol");
746+
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)