summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2017-03-09 09:05:56 +0100
committerTony Lindgren <tony@atomide.com>2017-03-24 15:26:38 +0100
commitfb51ae0a11799e985e867dc66eafe47ff6421f6b (patch)
treeb6d2b6a03240ce95573716d0ebc03ee46c98bf3f /arch/arm
parentARM: dts: omap3: Add cpu_thermal zone (diff)
downloadlinux-fb51ae0a11799e985e867dc66eafe47ff6421f6b.tar.xz
linux-fb51ae0a11799e985e867dc66eafe47ff6421f6b.zip
ARM: dts: DRA7: 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 <j-keerthy@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/dra7.dtsi17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index e9dc314b0dcf..093eff94ee80 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -1996,6 +1996,23 @@
&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"