Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
* [PATCH] reset: RESET_IMX8MP_AUDIOMIX should depend on ARCH_MXC
@ 2024-06-25 11:57 Geert Uytterhoeven
  2024-06-25 12:11 ` Philipp Zabel
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2024-06-25 11:57 UTC (permalink / raw)
  To: Philipp Zabel, Abel Vesa, Marco Felsch, Shengjiu Wang
  Cc: imx, linux-kernel, Geert Uytterhoeven

The i.MX8MP AudioMix reset controller is only present on Freescale i.MX8
SoCs.  Hence add a dependency on ARCH_MXC, to prevent asking the user
about this driver when configuring a kernel without i.MX SoC support.

Fixes: fe125601d17cc1ea ("reset: imx8mp-audiomix: Add AudioMix Block Control reset driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/reset/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index e59da17ea0b2d620..36cfdb81cd345f94 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -93,6 +93,7 @@ config RESET_IMX7
 
 config RESET_IMX8MP_AUDIOMIX
 	tristate "i.MX8MP AudioMix Reset Driver"
+	depends on ARCH_MXC || COMPILE_TEST
 	select AUXILIARY_BUS
 	default CLK_IMX8MP
 	help
-- 
2.34.1


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

* Re: [PATCH] reset: RESET_IMX8MP_AUDIOMIX should depend on ARCH_MXC
  2024-06-25 11:57 [PATCH] reset: RESET_IMX8MP_AUDIOMIX should depend on ARCH_MXC Geert Uytterhoeven
@ 2024-06-25 12:11 ` Philipp Zabel
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Zabel @ 2024-06-25 12:11 UTC (permalink / raw)
  To: Geert Uytterhoeven, Abel Vesa, Marco Felsch, Shengjiu Wang
  Cc: imx, linux-kernel

On Di, 2024-06-25 at 13:57 +0200, Geert Uytterhoeven wrote:
> The i.MX8MP AudioMix reset controller is only present on Freescale i.MX8
> SoCs.  Hence add a dependency on ARCH_MXC, to prevent asking the user
> about this driver when configuring a kernel without i.MX SoC support.
> 
> Fixes: fe125601d17cc1ea ("reset: imx8mp-audiomix: Add AudioMix Block Control reset driver")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>

regards
Philipp

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

end of thread, other threads:[~2024-06-25 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-25 11:57 [PATCH] reset: RESET_IMX8MP_AUDIOMIX should depend on ARCH_MXC Geert Uytterhoeven
2024-06-25 12:11 ` Philipp Zabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox