Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <nfrayer@baylibre.com>
Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/all/20241224-timodules-v4-1-c5e010f58e2c@baylibre.com

authored by

Nicolas Frayer and committed by
Thomas Gleixner
2d95ffae dd1f17a9

+3 -2
-1
arch/arm64/Kconfig.platforms
··· 135 135 select SOC_TI 136 136 select TI_MESSAGE_MANAGER 137 137 select TI_SCI_PROTOCOL 138 - select TI_SCI_INTR_IRQCHIP 139 138 select TI_SCI_INTA_IRQCHIP 140 139 select TI_K3_SOCINFO 141 140 help
+2 -1
drivers/irqchip/Kconfig
··· 534 534 Support for the Loongson-1 platform Interrupt Controller. 535 535 536 536 config TI_SCI_INTR_IRQCHIP 537 - bool 537 + tristate "TI SCI INTR Interrupt Controller" 538 538 depends on TI_SCI_PROTOCOL 539 + depends on ARCH_K3 || COMPILE_TEST 539 540 select IRQ_DOMAIN_HIERARCHY 540 541 help 541 542 This enables the irqchip driver support for K3 Interrupt router
+1
drivers/irqchip/irq-ti-sci-intr.c
··· 303 303 304 304 MODULE_AUTHOR("Lokesh Vutla <lokeshvutla@ticom>"); 305 305 MODULE_DESCRIPTION("K3 Interrupt Router driver over TI SCI protocol"); 306 + MODULE_LICENSE("GPL");