thermal/drivers/uniphier: Add compatible string for NX1 SoC
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Mon, 18 Oct 2021 01:34:51 +0000 (10:34 +0900)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 18 Oct 2021 12:00:13 +0000 (14:00 +0200)
Add basic support for UniPhier NX1 SoC. This includes a compatible string
and the same SoC-dependent data as LD20 SoC.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/1634520891-16801-3-git-send-email-hayashi.kunihiko@socionext.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/uniphier_thermal.c

index bba2284..4cae556 100644 (file)
@@ -358,6 +358,10 @@ static const struct of_device_id uniphier_tm_dt_ids[] = {
                .compatible = "socionext,uniphier-pxs3-thermal",
                .data       = &uniphier_ld20_tm_data,
        },
+       {
+               .compatible = "socionext,uniphier-nx1-thermal",
+               .data       = &uniphier_ld20_tm_data,
+       },
        { /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, uniphier_tm_dt_ids);