drivers/thermal/qcom

Qualcomm TSENS, SPMI PMIC, and LMh thermal monitors

On-chip temperature sensors and thermal limit-management hardware built into Qualcomm Snapdragon mobile SoCs and IPQ networking chips, including recent Wi-Fi 7 platforms like the IPQ5018, IPQ5332, and IPQ5424. They let the kernel read die temperatures, fire alarms via the SPMI power-management IC, and throttle CPU frequency when chips approach thermal limits.

keep conf=0.90 last_sold=2025 deploy=medium replacement=none subsystem=thermal category=platform-vendor
90%

recommendation

It should stay because the hardware is still shipping in brand-new Qualcomm networking and Dragonwing platforms in 2025, the driver received fresh patches and stable-tree backports as recently as June 2025, and there is no replacement driver for these blocks. Anyone running a Qualcomm-based phone, router, or embedded board needs this code to keep the device from overheating.

repository signals

11 files
5,544 source lines
101 commits, 5y
+2,795 / −1,462 lines added / removed, 5y
45 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 101 total · active in 35/61 months
2021 2022 2023 2024 2025 2026 2021-04: 8 commits · +246 −151 2021-05: 1 commit · +1 −1 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 2 commits · +249 −0 2021-09: 1 commit · +2 −2 2021-10: 3 commits · +55 −17 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 2 commits · +40 −27 2022-02: 0 commits · +0 −0 2022-03: 1 commit · +1 −1 2022-04: 3 commits · +451 −38 2022-05: 1 commit · +1 −0 2022-06: 1 commit · +0 −14 2022-07: 3 commits · +12 −1 2022-08: 6 commits · +98 −37 2022-09: 1 commit · +1 −1 2022-10: 6 commits · +29 −38 2022-11: 1 commit · +2 −4 2022-12: 2 commits · +6 −1 2023-01: 13 commits · +557 −850 2023-02: 2 commits · +1 −2 2023-03: 2 commits · +9 −9 2023-04: 0 commits · +0 −0 2023-05: 1 commit · +30 −2 2023-06: 6 commits · +103 −91 2023-07: 2 commits · +4 −6 2023-08: 0 commits · +0 −0 2023-09: 2 commits · +3 −5 2023-10: 1 commit · +0 −6 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: 2 commits · +40 −0 2024-04: 2 commits · +1 −2 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 4 commits · +12 −37 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 4 commits · +11 −7 2024-11: 1 commit · +18 −8 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 2025-02: 5 commits · +272 −11 2025-03: 1 commit · +2 −1 2025-04: 0 commits · +0 −0 2025-05: 1 commit · +1 −1 2025-06: 1 commit · +1 −2 2025-07: 8 commits · +535 −88 2025-08: 0 commits · +0 −0 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: 1 commit · +1 −1 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 family was still receiving non-trivial upstream work in 2025, including a v6 patch for `thermal/drivers/qcom/tsens-v0_1` reviewed by subsystem maintainers.

  2. lore.kernel.org

    A qcom tsens fix was accepted for stable backport in 2025, indicating ongoing maintenance and deployed users.

  3. docs.qualcomm.com

    Qualcomm published a recent Dragonwing N6 platform brief listing IPQ5018, one of the SoCs supported by this driver's `qcom,ipq5018-tsens` compatible.

  4. docs.qualcomm.com

    Qualcomm published a recent Dragonwing N7 platform brief listing IPQ5332, another SoC directly supported by this driver.

  5. docs.qualcomm.com

    Qualcomm published a recent Networking Pro A7 platform brief listing IPQ5424, also directly supported by this driver.

codex reasoning notes (technical)

Local inspection via `rg`/`sed` shows this is active driver code for Qualcomm TSENS, SPMI thermal alarm/ADC TM5, and LMh blocks, with current OF matches including IPQ5018/IPQ5332/IPQ5424 plus older Snapdragon/MSM parts. `lore_activity` on `drivers/thermal/qcom/tsens.c` returned 2025 upstream and stable traffic (sources 1-2), while `lore_regex` found no removal/deprecation discussion and `lore_file_timeline` on the directory prefix returned no hits rather than removal evidence. Web search found recent Qualcomm product briefs for IPQ5018/IPQ5332/IPQ5424 (sources 3-5), so the hardware family is still present in new networking/embedded deployments. There is no natural upstream replacement driver for the same hardware blocks; recommendation stays `keep` rather than deprecate/remove.