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 <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-2-c5e010f58e2c@baylibre.com
This commit is contained in:
parent
2d95ffaecb
commit
b8b26ae398
3 changed files with 3 additions and 2 deletions
|
@ -135,7 +135,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
|
||||
|
|
|
@ -545,8 +545,9 @@ config TI_SCI_INTR_IRQCHIP
|
|||
TI System Controller, say Y here. Otherwise, say N.
|
||||
|
||||
config TI_SCI_INTA_IRQCHIP
|
||||
bool
|
||||
tristate "TI SCI INTA Interrupt Controller"
|
||||
depends on TI_SCI_PROTOCOL
|
||||
depends on ARCH_K3 || (COMPILE_TEST && ARM64)
|
||||
select IRQ_DOMAIN_HIERARCHY
|
||||
select TI_SCI_INTA_MSI_DOMAIN
|
||||
help
|
||||
|
|
|
@ -743,3 +743,4 @@ module_platform_driver(ti_sci_inta_irq_domain_driver);
|
|||
|
||||
MODULE_AUTHOR("Lokesh Vutla <lokeshvutla@ti.com>");
|
||||
MODULE_DESCRIPTION("K3 Interrupt Aggregator driver over TI SCI protocol");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
Loading…
Add table
Reference in a new issue