mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nicolas Frayer <nfrayer@baylibre.com>
To: tglx@linutronix.de, maz@kernel.org, linux-kernel@vger.kernel.org
Cc: khilman@baylibre.com, glaroque@baylibre.com, nfrayer@baylibre.com
Subject: [PATCH 1/2] irqchip: Kconfig: module build support for the TI interrupt router driver
Date: Wed, 16 Nov 2022 19:54:59 +0100	[thread overview]
Message-ID: <20221116185500.40431-2-nfrayer@baylibre.com> (raw)
In-Reply-To: <20221116185500.40431-1-nfrayer@baylibre.com>

Added module build support in Kconfig for the TI SCI interrupt router
driver

Signed-off-by: Nicolas Frayer <nfrayer@baylibre.com>
---
 arch/arm64/Kconfig.platforms | 1 -
 drivers/irqchip/Kconfig      | 5 +++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 912529ac58b3..2ee8de238b39 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -128,7 +128,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
 	  This enables support for Texas Instruments' K3 multicore SoC
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 7ef9f5e696d3..ea79d2499372 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -506,9 +506,10 @@ config LS1X_IRQ
 	  Support for the Loongson-1 platform Interrupt Controller.
 
 config TI_SCI_INTR_IRQCHIP
-	bool
-	depends on TI_SCI_PROTOCOL
+	tristate "TI SCI INTR Interrupt Controller"
+	select TI_SCI_PROTOCOL
 	select IRQ_DOMAIN_HIERARCHY
+	default ARCH_K3
 	help
 	  This enables the irqchip driver support for K3 Interrupt router
 	  over TI System Control Interface available on some new TI's SoCs.
-- 
2.25.1


  reply	other threads:[~2022-11-16 18:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-16 18:54 [PATCH 0/2] irqchip: Kconfig: Add module support for TI inta/intr Nicolas Frayer
2022-11-16 18:54 ` Nicolas Frayer [this message]
2022-11-26 22:03   ` [PATCH 1/2] irqchip: Kconfig: module build support for the TI interrupt router driver kernel test robot
2022-11-16 18:55 ` [PATCH 2/2] irqchip: Kconfig: Added module build support for the TI interrupt aggregator Nicolas Frayer
2022-11-17 16:57   ` kernel test robot
2022-11-16 21:44 ` [PATCH 0/2] irqchip: Kconfig: Add module support for TI inta/intr Marc Zyngier
2022-11-17 20:49   ` Nicolas Frayer
2022-11-17 21:00     ` Marc Zyngier

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=20221116185500.40431-2-nfrayer@baylibre.com \
    --to=nfrayer@baylibre.com \
    --cc=glaroque@baylibre.com \
    --cc=khilman@baylibre.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maz@kernel.org \
    --cc=tglx@linutronix.de \
    /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®