drivers/pinctrl/stm32

STMicroelectronics STM32 pin controllers

Configures the pin multiplexing and GPIO routing on STMicroelectronics' STM32 chips, including the STM32F4/F7/H7 microcontrollers used in industrial and embedded boards and the STM32MP1/MP2 Cortex-A application processors found in single-board computers and industrial gateways. It tells each chip pin which on-chip peripheral (UART, SPI, I2C, Ethernet, etc.) to expose.

keep conf=0.91 deploy=medium replacement=none subsystem=pinctrl category=bus-other
91%

recommendation

It should stay because it supports STMicroelectronics' current STM32 microcontroller and microprocessor families, including the STM32H7 series and the STM32MP1/MP2 application processors that ST still sells in volume in 2025. Upstream patch activity continued into 2026 and the device-tree bindings cover the latest MP257 silicon, so this is actively maintained code for hardware shipping today.

repository signals

13 files
18,230 source lines
60 commits, 5y
+5,925 / −407 lines added / removed, 5y
25 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 60 total · active in 30/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 2 commits · +47 −41 2021-07: 1 commit · +1,686 −0 2021-08: 0 commits · +0 −0 2021-09: 0 commits · +0 −0 2021-10: 2 commits · +5 −15 2021-11: 0 commits · +0 −0 2021-12: 1 commit · +4 −4 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 5 commits · +91 −99 2022-05: 4 commits · +113 −22 2022-06: 1 commit · +12 −8 2022-07: 0 commits · +0 −0 2022-08: 0 commits · +0 −0 2022-09: 1 commit · +2 −3 2022-10: 1 commit · +9 −7 2022-11: 1 commit · +0 −5 2022-12: 0 commits · +0 −0 2023-01: 1 commit · +1 −0 2023-02: 1 commit · +1 −1 2023-03: 1 commit · +1 −1 2023-04: 0 commits · +0 −0 2023-05: 1 commit · +2,591 −0 2023-06: 1 commit · +35 −0 2023-07: 1 commit · +1 −2 2023-08: 0 commits · +0 −0 2023-09: 0 commits · +0 −0 2023-10: 7 commits · +16 −21 2023-11: 2 commits · +6 −5 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 1 commit · +1 −1 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 1 commit · +1 −3 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 1 commit · +7 −2 2024-10: 0 commits · +0 −0 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 2 commits · +41 −40 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 1 commit · +5 −2 2025-05: 0 commits · +0 −0 2025-06: 5 commits · +171 −16 2025-07: 2 commits · +736 −1 2025-08: 2 commits · +21 −15 2025-09: 3 commits · +3 −3 2025-10: 6 commits · +290 −82 2025-11: 1 commit · +27 −8 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 0 commits · +0 −0 2026-03: 1 commit · +1 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    The core STM32 pinctrl code was still being touched by upstream patch traffic in March 2026, indicating ongoing maintenance rather than abandonment.

  2. git.kernel.org

    The binding covers current STM32 pinctrl compatibles including st,stm32mp135-pinctrl, st,stm32mp157-pinctrl, st,stm32mp257-pinctrl, and st,stm32h743-pinctrl.

  3. st.com

    STM32MP257F is listed by ST as Active and in volume production, showing this driver supports currently sold silicon.

  4. st.com

    STM32H743VG is listed by ST as Active and in volume production, showing another supported family remains commercially current.

codex reasoning notes (technical)

Real driver directory with platform_driver/module entry points. lore_file_timeline on drivers/pinctrl/stm32/pinctrl-stm32.c showed substantial activity through 2026-03-19 and no removal signal in consulted lore results; a broader removal-subject lore query timed out rather than finding a deprecation thread. Local tree inspection via rg showed support for STM32MP135/157/257 and STM32H743; cited binding URL is a canonical git.kernel.org recall for that file. ST product pages were obtained via web search on st.com and show active, volume-production STM32MP257F and STM32H743VG parts. Because the directory supports current ST MCU/MPU families and still sees upstream churn, the correct disposition is keep, not deprecate.