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

Thierry Reding
2021-05-31T12:50:19Z

[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]

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 <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
> 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 <treding@nvidia.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]