summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2017-03-09 13:35:58 +0530
committerTony Lindgren <tony@atomide.com>2017-03-24 07:26:58 -0700
commit5379c2dba0d496f18a523bb75e0e845e8487fa9f (patch)
tree80ad0c8b6bfdc3dd599abf518bd4f16d4281a33c
parent257b1b7cbfbebcc4f3c0d80737ed0861b20e3f4b (diff)
downloadop-kernel-dev-5379c2dba0d496f18a523bb75e0e845e8487fa9f.zip
op-kernel-dev-5379c2dba0d496f18a523bb75e0e845e8487fa9f.tar.gz
ARM: dts: OMAP443x: 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>
-rw-r--r--arch/arm/boot/dts/omap443x.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi
index fc6a861..03c8ad9 100644
--- a/arch/arm/boot/dts/omap443x.dtsi
+++ b/arch/arm/boot/dts/omap443x.dtsi
@@ -71,4 +71,8 @@
};
+&cpu_thermal {
+ coefficients = <0 20000>;
+};
+
/include/ "omap443x-clocks.dtsi"
OpenPOWER on IntegriCloud