Skip to contentSkip to conversation

pinctrl: fix compile test defaults

PATCH In review Johan Hovold 2 participants 2 messages Dec 12, 2025 – Dec 25, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 pinctrl: fix compile test defaults

Enabling compile testing should not enable every individual driver (we have "allyesconfig" for that) but two new drivers got this wrong.

Default to n instead of ARCH_MICROCHIP as these drivers are not needed in every Microchip build either.

Fixes 38cf9d641314 ("pinctrl: add pic64gx "gpio2" pinmux driver")
Fixes 46397274da22 ("pinctrl: add polarfire soc iomux0 pinmux driver")
Cc Conor Dooley <[email protected]>

---

Changes in v2
- default to n instead of ARCH_MICROCHIP as suggested by Conor

 drivers/pinctrl/Kconfig | 2 --
 1 file changed, 2 deletions(-)
drivers/pinctrl/Kconfig +0 -2
index bc7f37afc48b..0ea117581bde 100644
@@ -491,7 +491,6 @@ config PINCTRL_PIC64GX
 	depends on ARCH_MICROCHIP || COMPILE_TEST
 	depends on OF
 	select GENERIC_PINCONF
-	default y
 	help
 	  This selects the pinctrl driver for gpio2 on pic64gx.
 
@@ -511,7 +510,6 @@ config PINCTRL_POLARFIRE_SOC
 	depends on ARCH_MICROCHIP || COMPILE_TEST
 	depends on OF
 	select GENERIC_PINCONF
-	default y
 	help
 	  This selects the pinctrl driver for Microchip Polarfire SoC.
 
Signature · 1 line
2.52.0
maintainer
#1 lore raw
Quoted 10 lines · Johan Hovold

Enabling compile testing should not enable every individual driver (we have "allyesconfig" for that) but two new drivers got this wrong.

Default to n instead of ARCH_MICROCHIP as these drivers are not needed in every Microchip build either.

Fixes 38cf9d641314 ("pinctrl: add pic64gx "gpio2" pinmux driver")
Fixes 46397274da22 ("pinctrl: add polarfire soc iomux0 pinmux driver")
Cc Conor Dooley <[email protected]>

Patch applied as nonurgent fix.

Thanks Johan!
Linus Walleij