thermal: imx: dynamic passive and SoC specific critical trip points
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 1 Aug 2013 16:33:11 +0000 (18:33 +0200)
committerZhang Rui <rui.zhang@intel.com>
Thu, 15 Aug 2013 06:57:33 +0000 (14:57 +0800)
commit017e51420cc44098308b00dffd9d4e514ddf40f3
tree204402ed8d8fffbf9aa73a83a1d60b1689f2256f
parentcba77f5312caa17c3d107593846cbeb35d9273dc
thermal: imx: dynamic passive and SoC specific critical trip points

Set passive and critical trip point values depending on the maximum die
temperature stored in the OCOTP fuses. This allows higher trip points
for industrial and automotive rated i.MX6 SoCs.
Also allow to configure the passive trip point from userspace.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/imx_thermal.c