]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: OMAP5: Thermal: Add slope and offset values
authorKeerthy <j-keerthy@ti.com>
Thu, 9 Mar 2017 08:05:57 +0000 (13:35 +0530)
committerTony Lindgren <tony@atomide.com>
Fri, 24 Mar 2017 14:26:50 +0000 (07:26 -0700)
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 <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap5.dtsi

index 222155ca8ad7d768af6de5ab71f29f1853f5d116..eaff2a5751ddc11c5b1ec901a60c6f7c671aabac 100644 (file)
 
 &cpu_thermal {
        polling-delay = <500>; /* milliseconds */
+       coefficients = <65 (-1791)>;
 };
 
 /include/ "omap54xx-clocks.dtsi"
+
+&gpu_thermal {
+       coefficients = <117 (-2992)>;
+};
+
+&core_thermal {
+       coefficients = <0 2000>;
+};