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

Arnd Bergmann arnd at arndb.de
Mon May 6 04:29:43 PDT 2024


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



More information about the linux-arm-kernel mailing list