summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/tegra/soctherm.c
diff options
context:
space:
mode:
authorWei Ni <wni@nvidia.com>2016-03-29 18:29:15 +0800
committerEduardo Valentin <edubezval@gmail.com>2016-05-17 07:28:28 -0700
commit8204104f3598b6f29a8858df16c15c156014b863 (patch)
tree8df5caa5f46e45ac44c142e053204ddb87a3e09d /drivers/thermal/tegra/soctherm.c
parent65b6d57c24ed0aff1fc571e42d8f51bdfcce9a8e (diff)
downloadlinux-8204104f3598b6f29a8858df16c15c156014b863.tar.gz
linux-8204104f3598b6f29a8858df16c15c156014b863.tar.bz2
linux-8204104f3598b6f29a8858df16c15c156014b863.zip
thermal: tegra: add Tegra210 specific SOC_THERM driver
Add Tegra210 specific SOC_THERM driver. Signed-off-by: Wei Ni <wni@nvidia.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/tegra/soctherm.c')
-rw-r--r--drivers/thermal/tegra/soctherm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/thermal/tegra/soctherm.c b/drivers/thermal/tegra/soctherm.c
index d9b23cded69f..de33704200c6 100644
--- a/drivers/thermal/tegra/soctherm.c
+++ b/drivers/thermal/tegra/soctherm.c
@@ -147,6 +147,12 @@ static const struct of_device_id tegra_soctherm_of_match[] = {
.data = &tegra124_soctherm,
},
#endif
+#ifdef CONFIG_ARCH_TEGRA_210_SOC
+ {
+ .compatible = "nvidia,tegra210-soctherm",
+ .data = &tegra210_soctherm,
+ },
+#endif
{ },
};
MODULE_DEVICE_TABLE(of, tegra_soctherm_of_match);