summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/tegra/soctherm.c
diff options
context:
space:
mode:
authorWei Ni2016-03-29 12:29:15 +0200
committerEduardo Valentin2016-05-17 16:28:28 +0200
commit8204104f3598b6f29a8858df16c15c156014b863 (patch)
tree8df5caa5f46e45ac44c142e053204ddb87a3e09d /drivers/thermal/tegra/soctherm.c
parentthermal: tegra: split tegra_soctherm driver (diff)
downloadkernel-qcow2-linux-8204104f3598b6f29a8858df16c15c156014b863.tar.gz
kernel-qcow2-linux-8204104f3598b6f29a8858df16c15c156014b863.tar.xz
kernel-qcow2-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);