All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] pinctrl: nxp: s32g2: Enable by default on ARCH_S32
@ 2026-11-04 11:39 Khristine Andreea Barbulescu
  2026-11-04 11:47 ` sashiko-bot
  2026-11-05  9:36 ` Linus Walleij
  0 siblings, 2 replies; 3+ messages in thread
From: Khristine Andreea Barbulescu @ 2026-11-04 11:39 UTC (permalink / raw)
  To: Dong Aisheng, Fabio Estevam, Frank Li, Jacky Bai,
	Krzysztof Kozlowski, Linus Walleij
  Cc: Chester Lin, Ghennadi Procopciuc, linux-arm-kernel, linux-gpio,
	linux-kernel, Matthias Brugger, NXP S32 Linux Team,
	Pengutronix Kernel Team

The SIUL2 pin controller provides the pin muxing used by peripherals on
the supported S32G boards: the S32G2-based S32G274A-EVB and
S32G274A-RDB2, and the S32G3-based S32G399A-RDB3. Without the driver
some peripherals never finish probing and a defconfig kernel cannot
boot to rootfs on these boards.

As the driver is required by every supported S32G board rather than
being optional, make PINCTRL_S32G2 default to ARCH_S32 and keep the
user prompt only under COMPILE_TEST.

v2 -> v1:
- list the S32G boards that need the pinctrl driver
in the commit message
- drop the v1 arm64 defconfig change
- default to ARCH_S32 in Kconfig instead

 drivers/pinctrl/nxp/Kconfig | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/drivers/pinctrl/nxp/Kconfig b/drivers/pinctrl/nxp/Kconfig
index abca7ef97003..d6d97c944b94 100644
--- a/drivers/pinctrl/nxp/Kconfig
+++ b/drivers/pinctrl/nxp/Kconfig
@@ -8,8 +8,14 @@ config PINCTRL_S32CC
 	select REGMAP_MMIO
 
 config PINCTRL_S32G2
+	bool "NXP S32G2 pinctrl driver" if COMPILE_TEST
 	depends on ARCH_S32 && OF
-	bool "NXP S32G2 pinctrl driver"
+	default ARCH_S32
 	select PINCTRL_S32CC
 	help
-	  Say Y here to enable the pinctrl driver for NXP S32G2 family SoCs
+	  Enable the SIUL2 pin controller driver for NXP S32G2 family SoCs.
+
+	  This controller provides the pin muxing and configuration needed by
+	  peripherals on the S32G274A-EVB, S32G274A-RDB2 and S32G399A-RDB3
+	  boards, so every S32G defconfig build requires it to reach rootfs.
+	  It is therefore enabled by default on ARCH_S32.
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-05  9:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-04 11:39 [PATCH v2] pinctrl: nxp: s32g2: Enable by default on ARCH_S32 Khristine Andreea Barbulescu
2026-11-04 11:47 ` sashiko-bot
2026-11-05  9:36 ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.