Re: [PATCH] pinctrl: fix compile test defaults

From: Johan Hovold

Date: Thu Dec 11 2025 - 21:09:06 EST


On Wed, Dec 10, 2025 at 02:22:02PM +0000, Conor Dooley wrote:
> On Wed, Dec 10, 2025 at 12:41:48PM +0900, Johan Hovold wrote:
> > Enabling compile testing should not enable every individual driver (we
> > have "allyesconfig" for that) but two new drivers got this wrong.
> >
> > Fixes: 38cf9d641314 ("pinctrl: add pic64gx "gpio2" pinmux driver")
> > Fixes: 46397274da22 ("pinctrl: add polarfire soc iomux0 pinmux driver")
> > Cc: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
> > Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
> > ---
> > drivers/pinctrl/Kconfig | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
> > index bc7f37afc48b..ce5685215b92 100644
> > --- a/drivers/pinctrl/Kconfig
> > +++ b/drivers/pinctrl/Kconfig
> > @@ -491,7 +491,7 @@ config PINCTRL_PIC64GX
> > depends on ARCH_MICROCHIP || COMPILE_TEST
> > depends on OF
> > select GENERIC_PINCONF
> > - default y
> > + default ARCH_MICROCHIP
>
> Nah, not a fan of this kind of thing, please just make it default n if
> this compile test behaviour bothers you.

Sure, I guess that's better here as these drivers are not needed in
every Microchip build either.

Johan

Attachment: signature.asc
Description: PGP signature