summaryrefslogtreecommitdiff
path: root/drivers/thermal/uniphier_thermal.c
diff options
context:
space:
mode:
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>2021-10-18 10:34:51 +0900
committerDaniel Lezcano <daniel.lezcano@linaro.org>2021-10-18 14:00:13 +0200
commitfb6de59d3967f87fe4cae4b08f55cbe0d5a30b77 (patch)
treef559871b5de0fa773db583b15d81e0a96d936117 /drivers/thermal/uniphier_thermal.c
parent5041e63aaf36021f71b5f6244811a9cf2fe89fb4 (diff)
downloadlwn-fb6de59d3967f87fe4cae4b08f55cbe0d5a30b77.tar.gz
lwn-fb6de59d3967f87fe4cae4b08f55cbe0d5a30b77.zip
thermal/drivers/uniphier: Add compatible string for NX1 SoC
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>
Diffstat (limited to 'drivers/thermal/uniphier_thermal.c')
-rw-r--r--drivers/thermal/uniphier_thermal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/thermal/uniphier_thermal.c b/drivers/thermal/uniphier_thermal.c
index bba2284412d3..4cae5561a2a3 100644
--- a/drivers/thermal/uniphier_thermal.c
+++ b/drivers/thermal/uniphier_thermal.c
@@ -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);