drivers/pinctrl/sophgo

Sophgo CV18xx and SG20xx RISC-V SoC pin controllers

Pin multiplexing and configuration support for Sophgo's RISC-V system-on-chip family, including the CV1800B/CV1812H vision SoCs and the SG2000, SG2002, SG2042, and SG2044 application processors. These chips power affordable RISC-V developer boards from vendors like Milk-V (Duo, Pioneer) that started reaching customers in 2024 and 2025.

keep conf=0.93 deploy=low replacement=none subsystem=pinctrl category=platform-vendor
93%

recommendation

It should stay in the kernel because Sophgo's CV1800B, CV1812H, SG2000, SG2002, SG2042, and SG2044 chips are actively shipping in 2025 RISC-V developer boards such as the Milk-V Duo and Milk-V Pioneer, and the code is still receiving patches as recently as April 2026. The pin multiplexing logic is SoC-specific, so no other driver could replace it.

repository signals

14 files
5,467 source lines
16 commits, 5y
+6,204 / −636 lines added / removed, 5y
7 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 16 total · active in 5/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: 5 commits · +3,528 −1 2024-09: 0 commits · +0 −0 2024-10: 2 commits · +2 −2 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 2025-02: 6 commits · +2,672 −621 2025-03: 0 commits · +0 −0 2025-04: 0 commits · +0 −0 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 0 commits · +0 −0 2025-10: 0 commits · +0 −0 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 1 commit · +0 −10 2026-02: 2 commits · +2 −2 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. spinics.net

    April 1, 2026 patch against drivers/pinctrl/sophgo/pinctrl-sg2042.c shows current upstream maintenance activity rather than abandonment.

  2. spinics.net

    The SG2042/SG2044 pinctrl support series was under active review in February 2025, confirming recent upstream development of this directory.

  3. milkv.io

    Milk-V markets the Duo Module 01 as a product built around the SG2000, indicating ongoing new-product availability for SG2000-class hardware.

  4. milkv.io

    Milk-V markets the Pioneer board powered by the SG2042, indicating ongoing availability of SG2042-based systems.

codex reasoning notes (technical)

Local shell (`exec_command`) inspection of Kconfig and git history shows this is a real SoC pinctrl driver family (CV1800B, CV1812H, SG2000, SG2002, SG2042, SG2044), first merged in 2024 and still touched in 2026. `web.search_query` found a recent April 1, 2026 spinics patch on `pinctrl-sg2042.c` plus the February 2025 review thread for SG2042/SG2044 support; I also searched for removal discussion and found no hits. `web.search_query` also found Milk-V product pages for SG2000 and SG2042 systems, so the hardware is still shipping new and seeing niche embedded/RISC-V developer deployments. No natural replacement driver exists because these are SoC-specific pinctrl blocks.