[PATCH v2] pinctrl: fix compile test defaults

Johan Hovold posted 1 patch 1 month, 3 weeks ago
drivers/pinctrl/Kconfig | 2 --
1 file changed, 2 deletions(-)
[PATCH v2] pinctrl: fix compile test defaults
Posted by Johan Hovold 1 month, 3 weeks ago
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 <conor.dooley@microchip.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
---

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


 drivers/pinctrl/Kconfig | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index bc7f37afc48b..0ea117581bde 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -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.
 
-- 
2.52.0
Re: [PATCH v2] pinctrl: fix compile test defaults
Posted by Linus Walleij 1 month, 1 week ago
On Fri, Dec 12, 2025 at 3:09 AM Johan Hovold <johan@kernel.org> wrote:

> 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 <conor.dooley@microchip.com>
> Signed-off-by: Johan Hovold <johan@kernel.org>

Patch applied as nonurgent fix.

Thanks Johan!
Linus Walleij