Luka Perkov 158b5b4231 imx6: imx: thermal: use CPU temperature grade info for thresholds
This is a backport of a2291badc355d58ead5c19ae0609468947416040 from thermal-soc
accepted upstream.

The IMX6Q/IMX6DL SoC's have a 2-bit temperature grade stored in OTP. Instead
of assuming 85C for passive cooling threshold and 100C for critical base
these thresholds off the thermal gade max CPU temperature:
 - passive threshold: max - 10C
 - critical threshold: max - 5C

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 48011
2015-12-28 04:56:07 +00:00
..
2015-12-11 15:26:06 +00:00
2015-11-19 08:00:17 +00:00
2013-05-29 01:27:29 +00:00
2015-11-18 21:35:16 +00:00
2015-12-28 04:55:45 +00:00
2015-11-18 21:35:12 +00:00