drivers/clk/sifive

SiFive FU540 and FU740 PRCI clock and reset controllers

Controls the on-chip PLLs, clock gates, and reset lines (the PRCI block) inside SiFive's FU540 and FU740 RISC-V system-on-chip processors, which power the HiFive Unleashed and HiFive Unmatched developer boards that have been the most widely available RISC-V Linux workstations from 2018 onward.

keep conf=0.88 deploy=low replacement=none subsystem=clk category=platform-vendor
88%

recommendation

It should stay in the kernel because the hardware it serves, SiFive's FU540 and FU740 RISC-V SoCs used in HiFive Unleashed and HiFive Unmatched developer boards, is still being sold new in 2025 and remains a reference platform for RISC-V Linux work. The code is actively maintained, with a refactor series landing in 2022 and substantive commits as recently as September 2025, and there is no generic replacement because PRCI clock control is specific to these SoCs.

repository signals

6 files
1,174 source lines
14 commits, 5y
+371 / −320 lines added / removed, 5y
8 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 14 total · active in 8/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 3 commits · +82 −2 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: 3 commits · +264 −287 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: 1 commit · +3 −1 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: 2 commits · +4 −6 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 2 commits · +7 −7 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: 1 commit · +0 −8 2024-06: 1 commit · +1 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 0 commits · +0 −0 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 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: 0 commits · +0 −0 2025-08: 1 commit · +10 −9 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: 0 commits · +0 −0 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. git.kernel.org

    The upstream driver binds to SiFive PRCI blocks for `sifive,fu540-c000-prci` and `sifive,fu740-c000-prci`, so this directory covers SiFive FU540/FU740 SoC clock/reset hardware.

  2. lore.kernel.org

    linux-clk carried a multi-patch 2022 cleanup/refactor series for `clk: sifive`, showing real upstream maintenance rather than abandonment.

  3. sifive.com

    SiFive's HiFive Unmatched Rev B page advertises a FU740-based board with a 'Buy Now' flow and says boards are available through Mouser, indicating the hardware family was still being sold new in the 2025 timeframe.

  4. docs.u-boot.org

    Current U-Boot documentation for the FU740-based HiFive Unmatched explicitly lists the SiFive PRCI clock driver in mainline support, showing ongoing software enablement and present-day niche deployment.

codex reasoning notes (technical)

Keep: prompt metadata already shows 13 substantive commits in the last 5 years with a most recent substantive touch on 2025-09-08, so this is not a dormant candidate. `lore_file_timeline` on the source file showed maintenance/refactor traffic and no removal/deprecation thread; the cited lore URL came from that MCP call. The kernel.org source URL is canonical recall used to confirm the driver only serves FU540/FU740 PRCI blocks. The SiFive board page and U-Boot page were obtained via `web.search_query`; together they indicate FU740 hardware remained commercially available in the 2025 window and is still used in low-volume RISC-V dev platforms. No natural replacement driver exists because this is SoC-specific PRCI clock control, not a superseded generic peripheral driver.