drivers/clk/spear

STMicroelectronics SPEAr SoC clock controllers

Clock-tree controllers for STMicroelectronics' SPEAr family of ARM system-on-chips, including the SPEAr300/310/320 (ARM9-class) and SPEAr600/1310/1340 (Cortex-A9) parts that shipped into embedded and industrial gear in roughly 2010-2012. The code tells the rest of the kernel which oscillators, PLLs, and dividers feed each on-chip peripheral on those boards.

keep-annotate conf=0.77 deploy=low replacement=none subsystem=clk category=infrastructure
77%

recommendation

Worth keeping but flagging as legacy: the SPEAr platform is aging early-2010s embedded silicon with little new deployment, yet the code is not abandoned — there were substantive fixes in 2022 and four clock-API conversions landed in 2025, the platform and machine symbols still exist in current kernels, and no removal thread is visible on the mailing list. Since the boards that depend on it have no drop-in replacement driver, removing it would strand existing users for no real maintenance gain.

repository signals

11 files
4,171 source lines
12 commits, 5y
+63 / −82 lines added / removed, 5y
8 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 12 total · active in 7/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: 1 commit · +10 −40 2022-07: 0 commits · +0 −0 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 1 commit · +2 −0 2022-11: 2 commits · +4 −4 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: 1 commit · +1 −3 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: 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: 1 commit · +1 −1 2025-08: 4 commits · +35 −24 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 · +10 −10 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. kernel.org

    Kernel documentation identifies SPEAr as an STMicroelectronics ARM SoC family covering SPEAr300/310/320/600/1310/1340.

  2. cateee.net

    LKDDb shows the SPEAr platform support symbol persists across modern kernel series, including 6.x and 7.0-rc+HEAD.

  3. cateee.net

    LKDDb shows SPEAr1340 machine support remains present through recent kernel releases, indicating upstream support still exists for at least part of the family.

  4. linuxdevices.org

    A 2011 launch-era article places SPEAr1310/1340 in the early-2010s embedded/industrial market, supporting the view that this is aging hardware rather than a current-growth platform.

codex reasoning notes (technical)

Local exec_command inspection of the directory and DTS refs shows this is real SPEAr SoC clock-provider code, not a helper library; `git -c safe.directory=... log -- drivers/clk/spear` shows substantive fixes in 2022 and four clock API conversions in 2025, so it is not abandoned. Web search obtained the kernel SPEAr overview and LKDDb pages showing the platform/MACH symbols still exist in current kernels. A web search on lore.kernel.org for `drivers/clk/spear` / `clk: spear` found no obvious active removal thread. The LinuxDevices URL was obtained by web search to anchor the family in 2010-2011 embedded markets. Net: old, low-deployment platform with occasional upstream maintenance and no like-for-like replacement driver, so keep it but annotate as legacy.