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

Amelie Delaunay posted 1 patch 2 weeks, 6 days ago
drivers/pinctrl/stm32/Kconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] pinctrl: stm32: fix HDP driver dependency on GPIO_GENERIC
Posted by Amelie Delaunay 2 weeks, 6 days ago
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@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@foss.st.com>
Re: [PATCH] pinctrl: stm32: fix HDP driver dependency on GPIO_GENERIC
Posted by Linus Walleij 2 weeks, 4 days ago
On Tue, Mar 17, 2026 at 11:07 AM Amelie Delaunay
<amelie.delaunay@foss.st.com> wrote:

> 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@foss.st.com>

Patch applied for fixes. This should have been there all the time
and not specifically related to the HDP as far as I can tell.

Yours,
Linus Walleij