]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: thermal: qcom-tsens: make ipq5018 tsens standalone compatible
authorGeorge Moussalem <george.moussalem@outlook.com>
Mon, 18 Aug 2025 11:33:46 +0000 (15:33 +0400)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 25 Nov 2025 15:07:57 +0000 (16:07 +0100)
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@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://patch.msgid.link/20250818-ipq5018-tsens-fix-v1-1-0f08cf09182d@outlook.com
Documentation/devicetree/bindings/thermal/qcom-tsens.yaml

index b9f99d10994992ae9fd20176cfaf6a1503928f2d..e30a48b430a528e3ee35cfb299fe7e23034def77 100644 (file)
@@ -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