Re: [PATCH 1/2] dt-bindings: thermal: qcom-tsens: make ipq5018 tsens standalone compatible
From: Bjorn Andersson
Date: Mon Oct 27 2025 - 11:05:02 EST
On Mon, Aug 18, 2025 at 03:33:46PM +0400, George Moussalem via B4 Relay wrote:
> From: George Moussalem <george.moussalem@xxxxxxxxxxx>
>
> The tsens IP found in the IPQ5018 SoC should not use qcom,tsens-v1 as
> fallback since it has no RPM and, as such, must deviate from the
> standard v1 init routine as this version of tsens needs to be explicitly
> reset and enabled in the driver.
>
> So let's make qcom,ipq5018-tsens a standalone compatible in the bindings.
>
> Fixes: 77c6d28192ef ("dt-bindings: thermal: qcom-tsens: Add ipq5018 compatible")
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> Signed-off-by: George Moussalem <george.moussalem@xxxxxxxxxxx>
Reviewed-by: Bjorn Andersson <andersson@xxxxxxxxxx>
Regards,
Bjorn
> ---
> Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> index 94311ebd7652d42eb6f3ae0dba792872c90b623f..9f342e63bdb1d27bd12373fb4c7611964bfd8d4b 100644
> --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> @@ -36,10 +36,15 @@ properties:
> - qcom,msm8974-tsens
> - const: qcom,tsens-v0_1
>
> + - description:
> + v1 of TSENS without RPM which requires to be explicitly reset
> + and enabled in the driver.
> + enum:
> + - qcom,ipq5018-tsens
> +
> - description: v1 of TSENS
> items:
> - enum:
> - - qcom,ipq5018-tsens
> - qcom,msm8937-tsens
> - qcom,msm8956-tsens
> - qcom,msm8976-tsens
>
> --
> 2.50.1
>
>