[PATCH v3] pinctrl: nxp: s32g2: Enable by default on ARCH_S32
From: Khristine Andreea Barbulescu
Date: Thu Nov 05 2026 - 09:14:53 EST
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.
Signed-off-by: Khristine Andreea Barbulescu <khristineandreea.barbulescu@xxxxxxxxxxx>
---
v3 -> v2:
- add the Signed-off-by tag
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