ARM: dts: DRA7: Thermal: Add slope and offset values
authorKeerthy <j-keerthy@ti.com>
Thu, 9 Mar 2017 08:05:56 +0000 (13:35 +0530)
committerTony Lindgren <tony@atomide.com>
Fri, 24 Mar 2017 14:26:38 +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/dra7.dtsi

index e9dc314..093eff9 100644 (file)
 
 &cpu_thermal {
        polling-delay = <500>; /* milliseconds */
+       coefficients = <0 2000>;
+};
+
+&gpu_thermal {
+       coefficients = <0 2000>;
+};
+
+&core_thermal {
+       coefficients = <0 2000>;
+};
+
+&dspeve_thermal {
+       coefficients = <0 2000>;
+};
+
+&iva_thermal {
+       coefficients = <0 2000>;
 };
 
 /include/ "dra7xx-clocks.dtsi"