diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2018-12-17 15:34:22 +0100 |
---|---|---|
committer | Francesco Dolcini <francesco.dolcini@toradex.com> | 2022-06-15 09:32:28 +0200 |
commit | 90e91b616948ffcfe5ccee38e0390ab368566b8b (patch) | |
tree | a63cdf9532126eb31c7b3f17c2c74fd222fe619c /drivers/thermal/imx_thermal.c | |
parent | 3ae1979ab8e68160a3af8c8b0e7ffc65c1869345 (diff) |
imx_thermal.c: Use new temperature trip point values
Use the max. junction temperature read from fusing for critical shutdown
temperature. Passive temperature is set 10C lower.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 582ad0f7af30f1e44dbed374e73e9844bb99742f)
Conflicts:
drivers/thermal/imx_thermal.c
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Diffstat (limited to 'drivers/thermal/imx_thermal.c')
-rw-r--r-- | drivers/thermal/imx_thermal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index 85511c1160b7..481b602bf54d 100644 --- a/drivers/thermal/imx_thermal.c +++ b/drivers/thermal/imx_thermal.c @@ -557,10 +557,10 @@ static void imx_init_temp_grade(struct platform_device *pdev, u32 ocotp_mem0) } /* - * Set the critical trip point at 5 °C under max + * Set the critical trip point at max * Set the passive trip point at 10 °C under max (changeable via sysfs) */ - data->temp_critical = data->temp_max - (1000 * 5); + data->temp_critical = data->temp_max; data->temp_passive = data->temp_max - (1000 * 10); } |