linux/drivers/thermal/tegra
Mikko Perttunen cdd6076b0a thermal/drivers/tegra-bpmp: Handle offline zones
Thermal zones located in power domains may not be accessible when
the domain is powergated. In this situation, reading the temperature
will return -BPMP_EFAULT. When evaluating trips, BPMP will internally
use -256C as the temperature for offline zones.

For smooth operation, for offline zones, return -EAGAIN when reading
the temperature and allow registration of zones even if they are
offline during probe.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230330094904.2589428-1-cyndis@kapsi.fi
2023-04-07 10:31:33 +02:00
..
Kconfig thermal/drivers/tegra: Correct compile-testing of drivers 2021-08-14 12:24:06 +02:00
Makefile thermal/drivers/tegra: Add driver for Tegra30 thermal sensor 2021-08-14 12:23:39 +02:00
soctherm-fuse.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
soctherm.c thermal/core: Use the thermal zone 'devdata' accessor in thermal located drivers 2023-03-03 20:45:02 +01:00
soctherm.h
tegra30-tsensor.c thermal/drivers/tegra: Remove unneeded lock when setting a trip point 2023-03-03 20:45:03 +01:00
tegra124-soctherm.c
tegra132-soctherm.c
tegra210-soctherm.c thermal: tegra: Make tegra210_tsensor_thermtrips static 2019-05-23 21:52:47 -07:00
tegra-bpmp-thermal.c thermal/drivers/tegra-bpmp: Handle offline zones 2023-04-07 10:31:33 +02:00