[PATCH] pinctrl: stm32: fix HDP driver dependency on GPIO_GENERIC

Amelie Delaunay amelie.delaunay at foss.st.com
Tue Mar 17 03:06:54 PDT 2026


The HDP driver uses the generic GPIO chip API, but this configuration
may not be enabled.
Ensure it is enabled by selecting the appropriate option.

Fixes: 4bcff9c05b9d ("pinctrl: stm32: use new generic GPIO chip API")
Signed-off-by: Amelie Delaunay <amelie.delaunay at foss.st.com>
---
 drivers/pinctrl/stm32/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/stm32/Kconfig b/drivers/pinctrl/stm32/Kconfig
index 5f67e1ee66dd..d6a171523012 100644
--- a/drivers/pinctrl/stm32/Kconfig
+++ b/drivers/pinctrl/stm32/Kconfig
@@ -65,6 +65,7 @@ config PINCTRL_STM32_HDP
 	select PINMUX
 	select GENERIC_PINCONF
 	select GPIOLIB
+	select GPIO_GENERIC
 	help
 	  The Hardware Debug Port allows the observation of internal signals.
 	  It uses configurable multiplexer to route signals in a dedicated observation register.

---
base-commit: 263447532463cf4444a3595e835b99a4e90952fa
change-id: 20260317-pinctrl_stm32_hdp_fix_dep-94415345dbe8

Best regards,
-- 
Amelie Delaunay <amelie.delaunay at foss.st.com>




More information about the linux-arm-kernel mailing list