RE: [PATCH] pinctrl: imx: PINCTRL_IMX_SCMI should depend on ARCH_MXC
From: Peng Fan
Date: Thu Feb 26 2026 - 05:48:03 EST
Hi Geert,
> Subject: [PATCH] pinctrl: imx: PINCTRL_IMX_SCMI should depend on
>
> i.MX95 SCMI firmware is only present on NXP i.MX94 and i.MX95 SoCs.
> Hence add a dependency on ARCH_MXC, to prevent asking the user
> about this driver when configuring a kernel without NXP i.MX SoC
> family support.
>
> Fixes: b755521fd6eb22ac ("pinctrl: imx: support SCMI pinctrl protocol
> for i.MX95")
Not sure this deserves a fix tag.
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> ---
> drivers/pinctrl/freescale/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pinctrl/freescale/Kconfig
> b/drivers/pinctrl/freescale/Kconfig
> index 8d24decd3f074ece..64ca014ebfc17dfb 100644
> --- a/drivers/pinctrl/freescale/Kconfig
> +++ b/drivers/pinctrl/freescale/Kconfig
> @@ -10,6 +10,7 @@ config PINCTRL_IMX
> config PINCTRL_IMX_SCMI
> tristate "i.MX95 pinctrl driver using SCMI protocol interface"
> depends on ARM_SCMI_PROTOCOL && OF
> + depends on ARCH_MXC || COMPILE_TEST
How about this?
depends on (ARM_SCMI_PROTOCOL && OF && ARCH_MXC) || COMPILE_TEST
Thanks,
Peng.
> select PINMUX
> select GENERIC_PINCONF
> select GENERIC_PINCTRL_GROUPS
> --
> 2.43.0