drivers/clk/starfive

StarFive JH7100 and JH7110 RISC-V SoC clock controllers

Clock controller support for StarFive's JH7100 and JH7110 RISC-V system-on-chip designs, which gate and dispatch clocks to the CPU cores and on-chip peripherals on RISC-V single-board computers such as the VisionFive and VisionFive 2 introduced from 2021 onward.

keep conf=0.90 deploy=medium replacement=none subsystem=clk category=infrastructure
90%

recommendation

It should stay in the kernel because it provides the clock tree for StarFive's JH7100 and JH7110 RISC-V SoCs, which power currently-shipping boards like the VisionFive 2 that StarFive was still selling and documenting into 2025. The code is actively maintained upstream, with functional fixes landing through January 2025 and no signs of a removal effort.

repository signals

13 files
2,810 source lines
34 commits, 5y
+3,903 / −1,007 lines added / removed, 5y
15 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 34 total · active in 12/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 1 commit · +701 −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: 5 commits · +394 −101 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: 9 commits · +1,461 −749 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 7 commits · +1,240 −31 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: 2 commits · +37 −37 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 2 commits · +4 −8 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: 2 commits · +33 −2 2024-09: 1 commit · +2 −2 2024-10: 1 commit · +1 −1 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 1 commit · +27 −73 2025-02: 0 commits · +0 −0 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: 1 commit · +1 −1 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: 0 commits · +0 −0 2026-02: 2 commits · +2 −2 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. git.kernel.org

    Upstream kernel history for this directory shows regular non-removal activity, including functional StarFive clock changes in 2024-2025.

  2. git.kernel.org

    The StarFive JH7100 clock generator driver was introduced by commit 4210be668a09 and is contained in v5.17, so this is a relatively recent, still-maturing SoC support line rather than legacy baggage.

  3. starfivetech.com

    StarFive still markets VisionFive 2 around the JH-7110 SoC, with current product positioning and purchase flow, indicating hardware remained sold new in 2025.

  4. doc-en.rvspace.org

    StarFive's VisionFive 2 Quick Start Guide dated 2025-01-06 documents the JH7110 board hardware, showing ongoing vendor documentation and deployment relevance.

codex reasoning notes (technical)

Local `rg` confirmed this is real kernel driver code for StarFive JH7100/JH7110 SoC clock blocks, not helper-only code. Local `git log` (with safe.directory override) showed substantive maintenance through 2025-01-14 plus multiple 2024 functional fixes; no local history suggested deprecation/removal. A `web.search_query` for lore removal/deprecation discussion returned no relevant results, so there is no visible active upstream removal push. Source URLs: the two kernel.org URLs are canonical recall of stable kernel git pages, while the StarFive/RVspace URLs were obtained via `web.search_query`. Since JH7110-based boards were still being marketed/documented in 2025 and the driver is seeing recent upkeep, the correct call is to keep it.