linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] firmware: imx: Make IMX SCMI MISC driver only selectable on i.MX
@ 2025-02-04 10:15 Uwe Kleine-König
  2025-02-23  7:06 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2025-02-04 10:15 UTC (permalink / raw)
  To: Sudeep Holla
  Cc: Shawn Guo, Pengutronix Kernel Team, Fabio Estevam, Shengjiu Wang,
	Arnd Bergmann, Mark Brown, Cristian Marussi, Peng Fan, imx,
	linux-arm-kernel

This hardware component is only available on i.MX9. So don't offer to
enable this driver without i.MX support or compile coverage testing.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
---
 drivers/firmware/imx/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/firmware/imx/Kconfig b/drivers/firmware/imx/Kconfig
index 907cd149c40a..dc685b94285a 100644
--- a/drivers/firmware/imx/Kconfig
+++ b/drivers/firmware/imx/Kconfig
@@ -26,6 +26,7 @@ config IMX_SCU
 config IMX_SCMI_MISC_DRV
 	tristate "IMX SCMI MISC Protocol driver"
 	default y if ARCH_MXC
+	depends on ARCH_MXC || COMPILE_TEST
 	help
 	  The System Controller Management Interface firmware (SCMI FW) is
 	  a low-level system function which runs on a dedicated Cortex-M
-- 
2.47.1



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

* Re: [PATCH] firmware: imx: Make IMX SCMI MISC driver only selectable on i.MX
  2025-02-04 10:15 [PATCH] firmware: imx: Make IMX SCMI MISC driver only selectable on i.MX Uwe Kleine-König
@ 2025-02-23  7:06 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2025-02-23  7:06 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Sudeep Holla, Shawn Guo, Pengutronix Kernel Team, Fabio Estevam,
	Shengjiu Wang, Arnd Bergmann, Mark Brown, Cristian Marussi,
	Peng Fan, imx, linux-arm-kernel

On Tue, Feb 04, 2025 at 11:15:30AM +0100, Uwe Kleine-König wrote:
> This hardware component is only available on i.MX9. So don't offer to
> enable this driver without i.MX support or compile coverage testing.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>

Applied, thanks!



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

end of thread, other threads:[~2025-02-23  7:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-04 10:15 [PATCH] firmware: imx: Make IMX SCMI MISC driver only selectable on i.MX Uwe Kleine-König
2025-02-23  7:06 ` Shawn Guo

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).