# 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 
- List: linux-tegra
- Page: https://ratatoskr.run/linux-tegra/2021/05/1396552
- Thread: https://ratatoskr.run/linux-devicetree/2021/05/1395821/t.md

```text
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

- [signature.asc](https://ratatoskr.run/linux-tegra/2021/05/1396552/attachment/0) (application/pgp-signature, 833 bytes)
