]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: OMAP4460: Thermal: Add slope and offset values
authorKeerthy <j-keerthy@ti.com>
Thu, 9 Mar 2017 08:05:59 +0000 (13:35 +0530)
committerTony Lindgren <tony@atomide.com>
Fri, 24 Mar 2017 14:27:08 +0000 (07:27 -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/omap4460.dtsi

index ef66e12e0a67a281da15df0f99c04700ecf3e5cb..c43f2a2d0a1e26c9b6024a3c5c74b98bdbe92cb6 100644 (file)
@@ -90,4 +90,8 @@
 
 };
 
+&cpu_thermal {
+       coefficients = <348 (-9301)>;
+};
+
 /include/ "omap446x-clocks.dtsi"