drivers/clk/sunxi-ng

Allwinner sunxi SoC clock control units (CCU)

The clock control units on Allwinner's "sunxi" family of ARM system-on-chips, widely used in inexpensive single-board computers like Orange Pi, Banana Pi, and Pine64, plus tablets and set-top boxes. The code configures the PLLs, dividers, and gates that feed every peripheral, covering older A-series parts through current H616/H618, D1/T113/R528, and A523 SoCs.

keep conf=0.84 deploy=medium replacement=none subsystem=clk category=infrastructure
84%

recommendation

It should stay because this is the active clock-controller code for Allwinner ARM SoCs, which are still being shipped in 2025 in popular single-board computers like the Orange Pi Zero 3 (H618) and in Allwinner's current A523 platform. Upstream maintenance is healthy, with over 120 substantive commits and 30 contributors in the last five years and support for recent parts including the H616, D1, T113, R528, and A523. There is no alternative driver that could replace it.

repository signals

82 files
27,633 source lines
127 commits, 5y
+6,479 / −1,177 lines added / removed, 5y
34 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 127 total · active in 36/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 1 commit · +2 −2 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 13 commits · +122 −70 2021-10: 0 commits · +0 −0 2021-11: 10 commits · +2,256 −241 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 3 commits · +423 −0 2022-03: 2 commits · +3 −0 2022-04: 3 commits · +16 −2 2022-05: 2 commits · +37 −304 2022-06: 0 commits · +0 −0 2022-07: 1 commit · +13 −3 2022-08: 4 commits · +26 −38 2022-09: 1 commit · +6 −2 2022-10: 0 commits · +0 −0 2022-11: 3 commits · +18 −9 2022-12: 7 commits · +98 −78 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: 1 commit · +13 −1 2023-06: 0 commits · +0 −0 2023-07: 2 commits · +9 −7 2023-08: 11 commits · +211 −61 2023-09: 0 commits · +0 −0 2023-10: 2 commits · +19 −5 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: 4 commits · +54 −5 2024-04: 1 commit · +23 −0 2024-05: 0 commits · +0 −0 2024-06: 3 commits · +42 −7 2024-07: 1 commit · +1 −1 2024-08: 0 commits · +0 −0 2024-09: 1 commit · +33 −33 2024-10: 3 commits · +56 −18 2024-11: 2 commits · +4 −4 2024-12: 1 commit · +59 −59 2025-01: 2 commits · +4 −11 2025-02: 2 commits · +60 −2 2025-03: 13 commits · +2,083 −16 2025-04: 2 commits · +25 −26 2025-05: 3 commits · +73 −19 2025-06: 2 commits · +3 −1 2025-07: 10 commits · +79 −59 2025-08: 1 commit · +1 −1 2025-09: 4 commits · +523 −17 2025-10: 3 commits · +3 −3 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 1 commit · +79 −70 2026-02: 2 commits · +2 −2 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. git.kernel.org

    Upstream Linux driver directory covers multiple Allwinner sunxi clock-control blocks, including newer families such as H616, D1/T113/R528, and A523.

  2. orangepi.org

    Commercially sold Orange Pi Zero 3 uses Allwinner H618, showing sunxi clock-controller backed hardware is still sold new.

  3. allwinnertech.com

    Allwinner markets the A523 SoC as a current product, indicating the driver family covers actively sold silicon.

codex reasoning notes (technical)

Not removable/obsolete: the prompt itself reports 122 substantive commits in the last 5 years, 30 authors, and a latest substantive touch on 2026-01-22, which is active upstream maintenance rather than decay. I attempted lore-first checks with `lore_path_mentions` and `lore_regex`, but both timed out, so there is no positive lore evidence of a removal series. Local tree inspection via `rg` showed support strings for recent Allwinner parts (H616, D1/R528/T113, A523), and the cited kernel.org tree URL is a canonical-recall source for that directory. The Orange Pi and Allwinner URLs were obtained via `web.search_query`. Because this is the SoC-specific CCU clock driver for still-current Allwinner hardware, there is no natural upstream replacement driver; keep it.