mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "tip-bot2 for Nicolas Frayer" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Nicolas Frayer <nfrayer@baylibre.com>,
	Guillaume La Roque <glaroque@baylibre.com>,
	Thomas Gleixner <tglx@linutronix.de>, Nishanth Menon <nm@ti.com>,
	x86@kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org
Subject: [tip: irq/core] irqchip/ti-sci-intr: Add module build support
Date: Wed, 15 Jan 2025 09:16:15 -0000	[thread overview]
Message-ID: <173693257510.31546.14913996482333441326.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20241224-timodules-v4-1-c5e010f58e2c@baylibre.com>

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@baylibre.com>
AuthorDate:    Tue, 24 Dec 2024 20:36:42 +01:00
Committer:     Thomas Gleixner <tglx@linutronix.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@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
---
 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@ticom>");
 MODULE_DESCRIPTION("K3 Interrupt Router driver over TI SCI protocol");
+MODULE_LICENSE("GPL");

  reply	other threads:[~2025-01-15  9:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-24 19:36 [PATCH v4 0/2] irqchip: Kconfig: Add module support for TI inta/intr Guillaume La Roque
2024-12-24 19:36 ` [PATCH v4 1/2] irqchip/ti-sci-intr: add module build support Guillaume La Roque
2025-01-15  9:16   ` tip-bot2 for Nicolas Frayer [this message]
2024-12-24 19:36 ` [PATCH v4 2/2] irqchip/ti-sci-inta : Add " Guillaume La Roque
2025-01-15  9:16   ` [tip: irq/core] " tip-bot2 for Nicolas Frayer
2025-01-02 12:44 ` [PATCH v4 0/2] irqchip: Kconfig: Add module support for TI inta/intr Nishanth Menon
2025-01-02 13:09   ` Marc Zyngier
2025-01-02 13:26     ` Nishanth Menon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=173693257510.31546.14913996482333441326.tip-bot2@tip-bot2 \
    --to=tip-bot2@linutronix.de \
    --cc=glaroque@baylibre.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=maz@kernel.org \
    --cc=nfrayer@baylibre.com \
    --cc=nm@ti.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®