linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] irqchip: MST_IRQ should depend on ARCH_MEDIATEK or ARCH_MSTARV7
@ 2020-10-14 13:17 Geert Uytterhoeven
  2020-10-15  8:46 ` Daniel Palmer
  2020-10-15 21:29 ` Marc Zyngier
  0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2020-10-14 13:17 UTC (permalink / raw)
  To: Thomas Gleixner, Jason Cooper, Marc Zyngier, Mark-PK Tsai, Daniel Palmer
  Cc: Matthias Brugger, Geert Uytterhoeven, linux-mediatek,
	linux-kernel, linux-arm-kernel

The MStar interrupt controller is only found on MStar, SigmaStar, and
Mediatek SoCs.  Hence add dependencies on ARCH_MEDIATEK and
ARCH_MSTARV7, to prevent asking the user about the MStar interrupt
controller driver when configuring a kernel without support for MStar,
SigmaStar, and Mediatek SoCs.

Fixes: ad4c938c92af9130 ("irqchip/irq-mst: Add MStar interrupt controller support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/irqchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index c6098eee0c7cf217..500b16648e5183c4 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -591,6 +591,7 @@ config LOONGSON_PCH_MSI
 
 config MST_IRQ
 	bool "MStar Interrupt Controller"
+	depends on ARCH_MEDIATEK || ARCH_MSTARV7 || COMPILE_TEST
 	default ARCH_MEDIATEK
 	select IRQ_DOMAIN
 	select IRQ_DOMAIN_HIERARCHY
-- 
2.17.1


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] irqchip: MST_IRQ should depend on ARCH_MEDIATEK or ARCH_MSTARV7
  2020-10-14 13:17 [PATCH] irqchip: MST_IRQ should depend on ARCH_MEDIATEK or ARCH_MSTARV7 Geert Uytterhoeven
@ 2020-10-15  8:46 ` Daniel Palmer
  2020-10-15 21:29 ` Marc Zyngier
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Palmer @ 2020-10-15  8:46 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Jason Cooper, Marc Zyngier, linux-kernel, Daniel Palmer,
	linux-mediatek, linux-arm-kernel, Matthias Brugger,
	Thomas Gleixner, Mark-PK Tsai

Hi Geert,

This looks good to me.

Acked-by: Daniel Palmer <daniel@thingy.jp>

Thanks,

Daniel

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] irqchip: MST_IRQ should depend on ARCH_MEDIATEK or ARCH_MSTARV7
  2020-10-14 13:17 [PATCH] irqchip: MST_IRQ should depend on ARCH_MEDIATEK or ARCH_MSTARV7 Geert Uytterhoeven
  2020-10-15  8:46 ` Daniel Palmer
@ 2020-10-15 21:29 ` Marc Zyngier
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Zyngier @ 2020-10-15 21:29 UTC (permalink / raw)
  To: Thomas Gleixner, Geert Uytterhoeven, Daniel Palmer, Mark-PK Tsai,
	Jason Cooper
  Cc: Matthias Brugger, linux-mediatek, linux-kernel, linux-arm-kernel

On Wed, 14 Oct 2020 15:17:03 +0200, Geert Uytterhoeven wrote:
> The MStar interrupt controller is only found on MStar, SigmaStar, and
> Mediatek SoCs.  Hence add dependencies on ARCH_MEDIATEK and
> ARCH_MSTARV7, to prevent asking the user about the MStar interrupt
> controller driver when configuring a kernel without support for MStar,
> SigmaStar, and Mediatek SoCs.

Applied to irq/irqchip-next, thanks!

[1/1] irqchip/mst: MST_IRQ should depend on ARCH_MEDIATEK or ARCH_MSTARV7
      commit: 61b0648d569aca932eab87a67f7ca0ffd3ea2b68

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.



_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-15 21:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-14 13:17 [PATCH] irqchip: MST_IRQ should depend on ARCH_MEDIATEK or ARCH_MSTARV7 Geert Uytterhoeven
2020-10-15  8:46 ` Daniel Palmer
2020-10-15 21:29 ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).