]> git.baikalelectronics.ru Git - kernel.git/commit
thermal/drivers/tegra: Add driver for Tegra30 thermal sensor
authorDmitry Osipenko <digetx@gmail.com>
Wed, 16 Jun 2021 19:04:14 +0000 (22:04 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sat, 14 Aug 2021 10:23:39 +0000 (12:23 +0200)
commit6b17723072d18f3f7306191cd9e2f5834f10b162
tree7f439174bdfa0a044dd36d56dfd739296a86e9f1
parentb1b49cbcf8bd66059ed6f80c573a7ff83991d8ef
thermal/drivers/tegra: Add driver for Tegra30 thermal sensor

All NVIDIA Tegra30 SoCs have a two-channel on-chip sensor unit which
monitors temperature and voltage of the SoC. Sensors control CPU frequency
throttling, which is activated by hardware once preprogrammed temperature
level is breached, they also send signal to Power Management controller to
perform emergency shutdown on a critical overheat of the SoC die. Add
driver for the Tegra30 TSENSOR module, exposing it as a thermal sensor.

Tested-by: Andreas Westman Dorcsak <hedmoo@yahoo.com> # Asus TF700T
Tested-by: Maxim Schwalm <maxim.schwalm@gmail.com> # Asus TF700T
Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # Asus TF201T
Tested-by: Ihor Didenko <tailormoon@rambler.ru> # Asus TF300T
Tested-by: Ion Agorria <ion@agorria.com> # Asus TF201T
Tested-by: Matt Merhar <mattmerhar@protonmail.com> # Ouya
Tested-by: Peter Geis <pgwipeout@gmail.com> # Ouya
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210616190417.32214-4-digetx@gmail.com
drivers/thermal/tegra/Kconfig
drivers/thermal/tegra/Makefile
drivers/thermal/tegra/tegra30-tsensor.c [new file with mode: 0644]