diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2026-03-05 10:05:12 +0100 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-03-10 10:12:25 +0100 |
| commit | 35b9b024db9d762952c45bf3bb7007c5aaaddcb6 (patch) | |
| tree | d832515f62af5afea0e868964ca7c156d16d0e14 /drivers/pinctrl | |
| parent | e785c990adccabb9cc3286166b2377fae05c2533 (diff) | |
pinctrl: imx: PINCTRL_IMX_SCMI should depend on ARCH_MXC
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.
While at it, relax the dependencies on ARM_SCMI_PROTOCOL and OF when
compile-testing.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'drivers/pinctrl')
| -rw-r--r-- | drivers/pinctrl/freescale/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/Kconfig b/drivers/pinctrl/freescale/Kconfig index 8d24decd3f07..fd53cf5bb843 100644 --- a/drivers/pinctrl/freescale/Kconfig +++ b/drivers/pinctrl/freescale/Kconfig @@ -9,7 +9,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 (ARM_SCMI_PROTOCOL && OF && ARCH_MXC) || COMPILE_TEST select PINMUX select GENERIC_PINCONF select GENERIC_PINCTRL_GROUPS |
