drivers/pinctrl/spacemit

SpacemiT K1 and K3 RISC-V SoC pin controller

Configures pin muxing and I/O settings on SpacemiT's K1 and K3 octa-core RISC-V application processors, which debuted around 2024 and are used in budget RISC-V developer boards such as the Banana Pi BPI-F3 SBC and the BPI-CM6 compute module sold in 2025 and 2026.

keep conf=0.88 last_sold=2026 deploy=low replacement=none subsystem=pinctrl category=bus-other
88%

recommendation

It should stay because this is the active upstream pin-multiplexing driver for SpacemiT's K1 and K3 RISC-V SoCs, which power currently shipping single-board computers like the Banana Pi BPI-F3 and the 2025 BPI-CM6 module. Local git history shows substantive feature work and fixes landing from late 2024 into early 2026, including new K3 support, and no removal discussions surfaced upstream.

repository signals

4 files
1,643 source lines
13 commits, 5y
+1,729 / −65 lines added / removed, 5y
8 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 13 total · active in 8/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 0 commits · +0 −0 2023-08: 0 commits · +0 −0 2023-09: 0 commits · +0 −0 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 2 commits · +1,112 −1 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 2025-02: 1 commit · +3 −2 2025-03: 2 commits · +6 −2 2025-04: 1 commit · +10 −0 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 1 commit · +1 −1 2025-09: 1 commit · +1 −1 2025-10: 0 commits · +0 −0 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 3 commits · +594 −56 2026-02: 2 commits · +2 −2 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. devicetree.org

    The upstream binding covers both `spacemit,k1-pinctrl` and `spacemit,k3-pinctrl`, matching this driver’s supported compatibles.

  2. cateee.net

    LKDDb shows CONFIG_PINCTRL_SPACEMIT_K1 in mainline kernels 6.13 through 6.19-rc/HEAD and lists both `spacemit,k1-pinctrl` and `spacemit,k3-pinctrl` compatibles.

  3. wiki.banana-pi.org

    Banana Pi documents the BPI-F3 as a currently marketed board based on the SpacemiT K1 SoC.

  4. bpi-shop.com

    The BPI-F3 product page shows the SpacemiT K1 board available for purchase, supporting new-hardware availability.

  5. forum.banana-pi.org

    Banana Pi announced a 2025 BPI-CM6 computer module based on SpacemiT K1, indicating continuing platform rollout beyond a single dev board.

  6. forum.banana-pi.org

    The Banana Pi BPI-F3/BPI-CM6 forum category had activity into 2026, suggesting ongoing user/developer deployments rather than abandonment.

codex reasoning notes (technical)

Real driver, not an asset/helper dir. Local source inspection (`sed`, `rg`) shows a platform pinctrl driver with OF matches for K1 and K3, and local git history (`git -c safe.directory=... log`) shows substantive fixes/features from 2024-10 through 2026-01, including K3 support and I/O power-domain work; that is active upstream maintenance, not removal. I could not use the promised lore MCP because no such server was exposed here, and `lei` was unavailable; a targeted web search over `lore.kernel.org` returned no removal-discussion hits, so there is no evidence to escalate toward remove. Deployment looks niche but real: current Banana Pi board/shop/forum pages obtained via web search show K1-based SBC/SoM hardware on sale and discussed in 2025-2026. The devicetree schema URL came directly from the local binding file `$id`; LKDDb and Banana Pi pages came from web search. Because this is a recently upstreamed SoC pinctrl block with active follow-on enablement and no generic substitute, the recommendation is keep.