summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap5.dtsi
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2017-03-09 09:05:57 +0100
committerTony Lindgren <tony@atomide.com>2017-03-24 15:26:50 +0100
commit257b1b7cbfbebcc4f3c0d80737ed0861b20e3f4b (patch)
treece8349283f01feb8abdef9224ca5f7066b86c44c /arch/arm/boot/dts/omap5.dtsi
parentARM: dts: DRA7: Thermal: Add slope and offset values (diff)
downloadlinux-257b1b7cbfbebcc4f3c0d80737ed0861b20e3f4b.tar.xz
linux-257b1b7cbfbebcc4f3c0d80737ed0861b20e3f4b.zip
ARM: dts: OMAP5: 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/boot/dts/omap5.dtsi')
-rw-r--r--arch/arm/boot/dts/omap5.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index 222155ca8ad7..eaff2a5751dd 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -1127,6 +1127,15 @@
&cpu_thermal {
polling-delay = <500>; /* milliseconds */
+ coefficients = <65 (-1791)>;
};
/include/ "omap54xx-clocks.dtsi"
+
+&gpu_thermal {
+ coefficients = <117 (-2992)>;
+};
+
+&core_thermal {
+ coefficients = <0 2000>;
+};