thermal/drivers/tsens: Add compat string for the qcom,msm8960
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 6 Apr 2022 00:26:46 +0000 (03:26 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 19 May 2022 10:11:51 +0000 (12:11 +0200)
On apq8064 (msm8960) platforms the tsens device is created manually by
the gcc driver. Prepare the tsens driver for the qcom,msm8960-tsens
device instantiated from the device tree.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220406002648.393486-3-dmitry.baryshkov@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/qcom/tsens.c

index 154d3cb19c88db0522f3e477ded0fea4011d1087..7963ee33bf75b79a345e8ad94fe6a74dd715b727 100644 (file)
@@ -979,6 +979,9 @@ static const struct of_device_id tsens_table[] = {
        }, {
                .compatible = "qcom,msm8939-tsens",
                .data = &data_8939,
+       }, {
+               .compatible = "qcom,msm8960-tsens",
+               .data = &data_8960,
        }, {
                .compatible = "qcom,msm8974-tsens",
                .data = &data_8974,