From: Keerthy Date: Thu, 9 Mar 2017 08:05:57 +0000 (+0530) Subject: ARM: dts: OMAP5: Thermal: Add slope and offset values X-Git-Tag: v4.12-rc1~56^2~27^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=257b1b7cbfbebcc4f3c0d80737ed0861b20e3f4b;p=thirdparty%2Fkernel%2Flinux.git ARM: dts: OMAP5: Thermal: Add slope and offset values Currently the slope and offset values for calculating the hot spot temperature of a particular thermal zone is part of driver data. Pass them here instead and obtain the values while of node parsing. Signed-off-by: Keerthy Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 222155ca8ad7d..eaff2a5751ddc 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi @@ -1127,6 +1127,15 @@ &cpu_thermal { polling-delay = <500>; /* milliseconds */ + coefficients = <65 (-1791)>; }; /include/ "omap54xx-clocks.dtsi" + +&gpu_thermal { + coefficients = <117 (-2992)>; +}; + +&core_thermal { + coefficients = <0 2000>; +};