Thread (22 messages) 22 messages, 6 authors, 2021-06-16

Re: [PATCH v3 4/7] thermal/drivers/tegra: Add driver for Tegra30 thermal sensor

From: Thierry Reding <hidden>
Date: 2021-05-31 12:50:19
Also in: linux-devicetree, linux-tegra, lkml

On Sat, May 29, 2021 at 08:09:52PM +0300, Dmitry Osipenko wrote:
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
and a cooling device.

Tested-by: Andreas Westman Dorcsak <redacted> # Asus TF700T
Tested-by: Maxim Schwalm <redacted> # Asus TF700T
Tested-by: Svyatoslav Ryhel <redacted> # Asus TF201T
Tested-by: Ihor Didenko <redacted> # Asus TF300T
Tested-by: Ion Agorria <redacted> # Asus TF201T
Tested-by: Matt Merhar <redacted> # Ouya
Tested-by: Peter Geis <redacted> # Ouya
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
 drivers/thermal/tegra/Kconfig           |   7 +
 drivers/thermal/tegra/Makefile          |   1 +
 drivers/thermal/tegra/tegra30-tsensor.c | 736 ++++++++++++++++++++++++
 3 files changed, 744 insertions(+)
 create mode 100644 drivers/thermal/tegra/tegra30-tsensor.c
Acked-by: Thierry Reding <redacted>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help