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.
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
sources
- spinics.net
April 1, 2026 patch against drivers/pinctrl/sophgo/pinctrl-sg2042.c shows current upstream maintenance activity rather than abandonment.
- spinics.net
The SG2042/SG2044 pinctrl support series was under active review in February 2025, confirming recent upstream development of this directory.
- 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.
- 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.