drivers/clk/pistachio

Imagination Pistachio SoC clock controller

Programs the on-chip clock generators (PLLs, dividers, and muxes) inside Imagination Technologies' Pistachio system-on-chip, a MIPS-based IoT processor that powered the Creator Ci40 developer board launched in late 2015. Without it the CPU, peripherals, and Wi-Fi/Bluetooth radios on a Pistachio board cannot get their reference clocks set up at boot.

keep-annotate conf=0.79 last_sold=2016 deploy=low replacement=none subsystem=clk category=infrastructure
79%

recommendation

Worth keeping but documenting its niche, since the Pistachio chip only ever shipped in small numbers on the 2015-era Creator Ci40 IoT development board. The code is still being maintained — a 2025 patch updated it to a newer kernel clock API and smaller cleanups landed in 2022 — and no one has proposed removing it, but real-world deployments are tiny and the boards are mostly available now as surplus new-old-stock.

repository signals

6 files
1,158 source lines
6 commits, 5y
+29 / −17 lines added / removed, 5y
6 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 6 total · active in 5/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: 1 commit · +8 −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: 1 commit · +1 −1 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: 1 commit · +2 −2 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: 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: 0 commits · +0 −0 2025-08: 1 commit · +12 −8 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 · +6 −6 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. spinics.net

    A substantive Pistachio clock-driver patch was still posted in 2025: 'clk: pistachio: pll: convert from round_rate() to determine_rate()'.

  2. lore.kernel.org

    The driver received a non-treewide fix in 2022 ('clk: pistachio: Fix initconst confusion'), indicating maintained upstream build/API health.

  3. lore.kernel.org

    The driver received an explicit Pistachio-specific cleanup in 2022 ('Declare mux table as const u32[]').

  4. en.wikipedia.org

    Pistachio-backed Creator Ci40 hardware was introduced in November 2015 and is an older MIPS IoT development-board family rather than current mass-market hardware.

  5. ebay.com

    As of 2026, unopened 'New' Creator Ci40 boards were still being sold by a surplus reseller, suggesting residual new-old-stock availability rather than active mainstream production.

codex reasoning notes (technical)

Real SoC clock driver directory using CLK_OF_DECLARE, not a helper library. Local shell inspection showed Pistachio DT bindings remain in-tree and arch/mips generic Marduk config still enables COMMON_CLK_PISTACHIO. Upstream activity came from local git log/tool output plus web search: a substantive 2025 clk API migration patch exists (spinics URL from web search), and earlier 2022 lore-linked fixes were visible in commit metadata from git log. I found no evidence of an active removal series. Hardware evidence from web search/open shows Pistachio's main public board (Creator Ci40) is a 2015-era dev kit; surplus sellers still list new units, so 'still sold new' is true in the narrow new-old-stock sense, but present-day deployments are likely low and niche. Result: keep the driver, but annotate as legacy/niche rather than deprecate or remove.