Re: [PATCH v2 2/3] pinctrl: freescale: Use CONFIG_SOC_IMXRT to guard i.MX RT1xxx drivers
From: Esben Haabendal
Date: Tue May 07 2024 - 03:37:46 EST
"Arnd Bergmann" <arnd@xxxxxxxx> writes:
> 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
That is done in patch 3/3.
> 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.
Take a look at patch 3/3 in this series. It does a wholesale addition of
||COMPILE_TEST to these drivers.
/Esben