drivers/soc/litex

LiteX FPGA Soft-SoC Controller

Support for the control block at the heart of LiteX, an open-source framework for building custom system-on-chip designs that run on FPGAs. Hobbyists, researchers, and a handful of commercial projects use it to synthesize their own Linux-capable SoCs (often paired with VexRiscv or similar soft CPU cores) onto FPGA boards rather than buying fixed silicon.

keep-annotate conf=0.79 last_sold=2025 deploy=low replacement=none subsystem=soc category=platform-vendor
79%

recommendation

Worth keeping but documenting its niche. LiteX is a small but genuinely active ecosystem — the upstream project shipped fresh releases in 2025, and the kernel code received routine maintenance touches through 2024 with no hints of removal. Real deployment numbers are low because this is FPGA territory rather than mass-market hardware, so a note clarifying that it targets soft SoCs built with the LiteX framework (and the related Linux-on-LiteX effort) would help future maintainers understand why the driver exists.

repository signals

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

sources

  1. lore.kernel.org

    The driver received a functional maintenance patch in January 2024 (`drivers/soc/litex: Use devm_register_restart_handler()`), indicating ongoing upstream care rather than abandonment.

  2. lore.kernel.org

    The file was still part of treewide API maintenance in October 2024 (`soc: Switch back to struct platform_driver::remove()`), with no removal/deprecation framing in the sampled lore activity.

  3. github.com

    LiteX is the upstream project for building FPGA-based SoCs; the official repository describes it as an active framework for creating FPGA cores/SoCs and shows current releases in 2025.

  4. github.com

    LiteX had 2025 releases (for example 2025.04 and later 2025.08), supporting the conclusion that the underlying hardware ecosystem is still active for new FPGA-based deployments.

  5. github.com

    LiteX-Hub states it hosts collaborative FPGA projects around LiteX, including board support and 'Linux on LiteX', which is evidence of ongoing niche deployments rather than a dead legacy platform.

codex reasoning notes (technical)

Shell read of `drivers/soc/litex/litex_soc_ctrl.c` showed a real OF platform driver for `litex,soc-controller` handling CSR validation and reset. `lore_file_timeline` on the exact C file showed 2024-2025 traffic consisting of maintenance/treewide patches and stable carry, not removal discussion; the `lei` fallback failed in sandbox due to public-inbox daemon socket permission denial. Web search returned the official LiteX repo, releases page, and LiteX-Hub pages showing active 2025 project/release activity and ongoing Linux-on-LiteX use. Recommendation is `keep-annotate`: niche soft-SoC hardware with low deployment volume, but still relevant and not showing upstream retirement signals.