Re: [PATCH 0/2] arm64: dts: qcom: sm6125: add TSENS die temperature sensing
From: Roman Linev
Date: Wed Sep 16 2026 - 03:24:55 EST
Apologies for the noise — three copies of this v2 went out by accident
(only the last one, with the full patches inline, is operative; the two
earlier posts are incomplete drafts). Please disregard those and reply to
this thread.
Konrad: v2 addresses your 2026-08-25 review asks (0x1000 TM/SROT regions,
CPU cooling wired, comments moved to the commit message, no sm6115
cross-check reliance).
On 16.09.2026 10:16, Roman Linev wrote:
> Arm64 DT patches, against torvalds/master.
>
> Changes in v2:
> - wire CPU cooling: #cooling-cells on all eight CPUs and per-CPU
> passive cooling maps for the cluster-1 CPUs, cpu4..cpu7 [Konrad]
> - make the TM/SROT register regions 0x1000 long and drop the inline
> comments [Konrad]
> - drop the sensor-mapping comment from the DTS; the provenance now
> lives in the commit message [Konrad]
>
> Patch 1/2 is unchanged and carries Krzysztof's Acked-by. Abel's
> Reviewed-by was given on the v1 content of 2/2; it is not carried onto
> the reworked patch.
>
> v1: https://lore.kernel.org/r/20260821030325.1823829-1-admin@xxxxxxxx/
>
> Patches inlined below (also against torvalds/master).
>
>
> [PATCH v2 1/2] dt-bindings: thermal: qcom-tsens: add qcom,sm6125-tsens
>
> SM6125 has a TSENS v2 block with 16 sensors. Its register and interrupt
> layout is identical to SM6115's, and it needs no calibration cells
> because v2 self-calibrates, so it is generic apart from the SoC-specific
> compatible.
>
> Document it in the v2 list, bound by the qcom,tsens-v2 fallback.
>
> Signed-off-by: Roman Linev <admin@xxxxxxxx>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> index 5a8f767..0ac3fdf 100644
> --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> @@ -79,6 +79,7 @@ properties:
> - qcom,sdm845-tsens
> - qcom,shikra-tsens
> - qcom,sm6115-tsens
> + - qcom,sm6125-tsens
> - qcom,sm6350-tsens
> - qcom,sm6375-tsens
> - qcom,sm8150-tsens