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

index fc6a8610c24c583b34e2a57c025cdbbed5b2e8c5..03c8ad91ddac919932282f6cb5bb681031f5a0d8 100644 (file)
@@ -71,4 +71,8 @@
 
 };
 
+&cpu_thermal {
+       coefficients = <0 20000>;
+};
+
 /include/ "omap443x-clocks.dtsi"