Re: [PATCH v2 2/3] pinctrl: freescale: Use CONFIG_SOC_IMXRT to guard i.MX RT1xxx drivers

From: Arnd Bergmann
Date: Mon May 06 2024 - 07:30:15 EST


On Mon, May 6, 2024, at 12:23, Esben Haabendal wrote:
>
> config PINCTRL_IMXRT1050
> bool "IMXRT1050 pinctrl driver"
> - depends on ARCH_MXC
> + depends on SOC_IMXRT
> + default SOC_IMXRT
> select PINCTRL_IMX
> help
> Say Y here to enable the imxrt1050 pinctrl driver

Maybe make this

depends on SOC_IMXRT || COMPILE_TEST

I see that all the i.MX pinctrl drivers are currently missing
this, but a lot of other platforms have the ||COMPILE_TEST
bit so it gets included in x86 allmodconfig tests that
often gets run before sending or merging changes.

Arnd