drivers/clk/mstar

MStar/SigmaStar MSC313 SoC PLL clock controllers

On-chip PLL clock generators for the MStar (later SigmaStar) MSC313 family of ARM system-on-chips, used mostly in low-cost IP security cameras and similar embedded devices from the late 2010s onward. The code provides the CPU and main PLL building blocks the rest of the SoC's clock tree hangs off of.

keep-annotate conf=0.62 deploy=low replacement=none subsystem=clk category=platform-vendor
62%

recommendation

Worth keeping but flagging as niche. The MSC313 lives on mainly in aftermarket IP-camera firmware projects like OpenIPC rather than in any actively sold mainstream product, but the code still receives upstream maintenance (an API-cleanup patch landed as recently as August 2025) and there is no alternative driver for this SoC's clock block. Removing it would break the only path to running mainline Linux on these chips, so a comment marking it as legacy/community-supported is more appropriate than deprecation.

repository signals

4 files
377 source lines
2 commits, 5y
+238 / −8 lines added / removed, 5y
2 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 2 total · active in 2/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: 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 · +228 −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 · +10 −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: 0 commits · +0 −0 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    The driver saw an upstream functional/API-maintenance patch in August 2025 for `msc313-cpupll`, so it is not fully abandoned.

  2. lore.kernel.org

    The MPLL support was introduced specifically for MStar/SigmaStar MSC313-family hardware in the upstream clock subsystem.

  3. openipc.org

    OpenIPC still lists MStar MSC313E among supported camera SoCs, indicating ongoing niche deployment in aftermarket IP-camera use.

codex reasoning notes (technical)

Local source inspection (`exec_command`) shows both files are SoC-specific PLL drivers for `mstar,msc313-*`, and Kconfig describes them as MStar/SigmaStar SoCs. `lore_activity` on `clk-msc313-cpupll.c` produced the 2025 linux-clk patch URL; `lore_activity` on `clk-msc313-mpll.c` produced the 2021 introduction URL. A fast `lore_file_timeline` on the directory returned no directory-level history signal, and no removal evidence surfaced in the limited lore checks. `web.search_query` + `open` produced the OpenIPC URL showing MSC313E in current community firmware support, which suggests low but non-zero legacy deployment. Because upstream still does occasional maintenance and there is no natural replacement for this SoC-specific clock block, removal/deprecation looks premature; annotate as legacy/niche instead.