Skip to content

Commit 2d95ffa

Browse files
Nicolas FrayerKAGA-KOKO
authored andcommitted
irqchip/ti-sci-intr: Add module build support
Add module build support in Kconfig for the TI SCI interrupt router driver. This driver depends on the TI sci firmware driver which aready supports module build. 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 dd1f17a commit 2d95ffa

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_INTR_IRQCHIP
139138
select TI_SCI_INTA_IRQCHIP
140139
select TI_K3_SOCINFO
141140
help

drivers/irqchip/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,9 @@ config LS1X_IRQ
534534
Support for the Loongson-1 platform Interrupt Controller.
535535

536536
config TI_SCI_INTR_IRQCHIP
537-
bool
537+
tristate "TI SCI INTR Interrupt Controller"
538538
depends on TI_SCI_PROTOCOL
539+
depends on ARCH_K3 || COMPILE_TEST
539540
select IRQ_DOMAIN_HIERARCHY
540541
help
541542
This enables the irqchip driver support for K3 Interrupt router

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,3 +303,4 @@ module_platform_driver(ti_sci_intr_irq_domain_driver);
303303

304304
MODULE_AUTHOR("Lokesh Vutla <lokeshvutla@ticom>");
305305
MODULE_DESCRIPTION("K3 Interrupt Router driver over TI SCI protocol");
306+
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)