[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <173693257510.31546.14913996482333441326.tip-bot2@tip-bot2>
Date: Wed, 15 Jan 2025 09:16:15 -0000
From: "tip-bot2 for Nicolas Frayer" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Nicolas Frayer <nfrayer@...libre.com>,
Guillaume La Roque <glaroque@...libre.com>,
Thomas Gleixner <tglx@...utronix.de>, Nishanth Menon <nm@...com>,
x86@...nel.org, linux-kernel@...r.kernel.org, maz@...nel.org
Subject: [tip: irq/core] irqchip/ti-sci-intr: Add module build support
The following commit has been merged into the irq/core branch of tip:
Commit-ID: 2d95ffaecbc2a29cf4a0fa8e63ce99ded7184991
Gitweb: https://git.kernel.org/tip/2d95ffaecbc2a29cf4a0fa8e63ce99ded7184991
Author: Nicolas Frayer <nfrayer@...libre.com>
AuthorDate: Tue, 24 Dec 2024 20:36:42 +01:00
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Wed, 15 Jan 2025 09:54:29 +01:00
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@...libre.com>
Signed-off-by: Guillaume La Roque <glaroque@...libre.com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Reviewed-by: Nishanth Menon <nm@...com>
Link: https://lore.kernel.org/all/20241224-timodules-v4-1-c5e010f58e2c@baylibre.com
---
arch/arm64/Kconfig.platforms | 1 -
drivers/irqchip/Kconfig | 3 ++-
drivers/irqchip/irq-ti-sci-intr.c | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 370a9d2..eda592a 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -135,7 +135,6 @@ config ARCH_K3
select SOC_TI
select TI_MESSAGE_MANAGER
select TI_SCI_PROTOCOL
- select TI_SCI_INTR_IRQCHIP
select TI_SCI_INTA_IRQCHIP
select TI_K3_SOCINFO
help
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 55d7122..6f1b7d2 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -534,8 +534,9 @@ config LS1X_IRQ
Support for the Loongson-1 platform Interrupt Controller.
config TI_SCI_INTR_IRQCHIP
- bool
+ tristate "TI SCI INTR Interrupt Controller"
depends on TI_SCI_PROTOCOL
+ depends on ARCH_K3 || COMPILE_TEST
select IRQ_DOMAIN_HIERARCHY
help
This enables the irqchip driver support for K3 Interrupt router
diff --git a/drivers/irqchip/irq-ti-sci-intr.c b/drivers/irqchip/irq-ti-sci-intr.c
index c027cd9..b49a731 100644
--- a/drivers/irqchip/irq-ti-sci-intr.c
+++ b/drivers/irqchip/irq-ti-sci-intr.c
@@ -303,3 +303,4 @@ module_platform_driver(ti_sci_intr_irq_domain_driver);
MODULE_AUTHOR("Lokesh Vutla <lokeshvutla@...om>");
MODULE_DESCRIPTION("K3 Interrupt Router driver over TI SCI protocol");
+MODULE_LICENSE("GPL");
Powered by blists - more mailing lists