]> git.ipfire.org Git - thirdparty/linux.git/commit
pinctrl: imx: PINCTRL_IMX_SCMI should depend on ARCH_MXC
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 5 Mar 2026 09:05:12 +0000 (10:05 +0100)
committerLinus Walleij <linusw@kernel.org>
Tue, 10 Mar 2026 09:12:25 +0000 (10:12 +0100)
commit35b9b024db9d762952c45bf3bb7007c5aaaddcb6
treed832515f62af5afea0e868964ca7c156d16d0e14
parente785c990adccabb9cc3286166b2377fae05c2533
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>
drivers/pinctrl/freescale/Kconfig