From 90e91b616948ffcfe5ccee38e0390ab368566b8b Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Mon, 17 Dec 2018 15:34:22 +0100 Subject: 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 (cherry picked from commit 582ad0f7af30f1e44dbed374e73e9844bb99742f) Conflicts: drivers/thermal/imx_thermal.c Signed-off-by: Max Krummenacher Signed-off-by: Francesco Dolcini --- drivers/thermal/imx_thermal.c | 4 ++-- 1 file 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); } -- cgit v1.2.3