ARM: dts: qcom: msm8974: fix tsens compatible
authorLuca Weiss <luca@z3ntu.xyz>
Sun, 25 Sep 2022 16:13:16 +0000 (18:13 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 17 Oct 2022 22:24:12 +0000 (17:24 -0500)
Bindings mandate the use of the fallback compatible qcom,tsens-v0_1 for
msm8974. Add it to fix the warning.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220925161317.76356-1-luca@z3ntu.xyz
arch/arm/boot/dts/qcom-apq8084.dtsi
arch/arm/boot/dts/qcom-msm8974.dtsi

index 4447d96..6929f10 100644 (file)
                };
 
                tsens: thermal-sensor@fc4a8000 {
-                       compatible = "qcom,msm8974-tsens";
+                       compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1";
                        reg = <0xfc4a9000 0x1000>, /* TM */
                              <0xfc4a8000 0x1000>; /* SROT */
                        nvmem-cells = <&tsens_calib>, <&tsens_backup>;
index c27cc91..f898fa0 100644 (file)
                };
 
                tsens: thermal-sensor@fc4a9000 {
-                       compatible = "qcom,msm8974-tsens";
+                       compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1";
                        reg = <0xfc4a9000 0x1000>, /* TM */
                              <0xfc4a8000 0x1000>; /* SROT */
                        nvmem-cells = <&tsens_calib>, <&tsens_backup>;