drivers/pmdomain/thead

T-Head TH1520 RISC-V SoC power domain controller

Power domain management for the T-Head TH1520, a quad-core RISC-V system-on-chip from Alibaba's T-Head division that powers boards like Sipeed's LicheePi 4A and the Lichee Book 4A laptop. It coordinates which on-chip blocks (CPU clusters, GPU, peripherals) are powered up or down via the SoC's always-on firmware.

keep conf=0.91 last_sold=2025 deploy=low replacement=none subsystem=pmdomain category=power-management
91%

recommendation

It should stay because the code was only added in March 2025 and is still being actively extended, with follow-on work in June 2025 adding GPU power sequencing. The TH1520 silicon continues to ship in new RISC-V developer boards and laptops from Sipeed in 2025, and the upstream pmdomain maintainer accepted the initial series through normal channels with no deprecation signals.

repository signals

3 files
285 source lines
5 commits, 5y
+302 / −2 lines added / removed, 5y
4 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 5 total · active in 3/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: 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: 2 commits · +233 −1 2025-04: 0 commits · +0 −0 2025-05: 0 commits · +0 −0 2025-06: 1 commit · +52 −0 2025-07: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 2 commits · +17 −1 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. lkml.org

    March 2025 upstream patch series introduced TH1520 AON firmware and power-domain support, explicitly for the T-Head TH1520 SoC used on the LicheePi 4A board.

  2. lkml.org

    In review, pmdomain maintainer Ulf Hansson said he could pick up patches 1-4 via the pmdomain tree, indicating normal upstream acceptance rather than deprecation/removal.

  3. lists.infradead.org

    June 2025 follow-on work added TH1520 GPU power sequencing and included a pmdomain/thead change, showing active feature development around this driver after initial merge.

  4. wiki.sipeed.com

    Sipeed's official Lichee Pi 4A documentation identifies TH1520 as the SoC for a Linux development board and mentions an online store link.

  5. wiki.sipeed.com

    Sipeed's official Lichee Book 4A documentation describes a TH1520-based laptop product family, indicating the silicon remained in new-product documentation beyond initial 2023 bring-up.

codex reasoning notes (technical)

Local file inspection showed a real platform_driver implementing TH1520 SoC power domains, not helper-only code. Local git history shows five substantive commits from 2025-03-13 through 2025-09-26, including bug fixes and new auxiliary-device hookups, so the directory is newly added and still receiving upstream work. The cited LKML/Linux-RISC-V URLs were obtained via web.search_query for TH1520 power-domain lore activity; Sipeed product pages were also obtained via web.search_query. Those sources support 'keep': active upstream maintenance, no removal discussion surfaced in the lore-oriented searches, and hardware appears to persist in niche new deployments (developer boards/laptops), though at low volume rather than mass-market scale.