]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00274056-3 thermal: imx: binding device cooling to thermal
authorAnson Huang <b20788@freescale.com>
Thu, 8 Aug 2013 17:57:23 +0000 (13:57 -0400)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 14:00:34 +0000 (16:00 +0200)
commite82f2f95a6b1d61eebc2b22bf7480b9ad9a47d3b
treefc70bdd9f41b079d236253042b9bf6f79a02c87b
parentf9d235594bc18049d949ea4f55ed4cd6b7f087f8
ENGR00274056-3 thermal: imx: binding device cooling to thermal

1. imx thermal depends on device cooling config, as only cpu
cooling is not enough for cooling down SOC;

2. binding device cooling to imx thermal driver.

3. add temperature buffer for passive trip, which means when
temperature cross passive trip, cooling devices will be triggered,
but only when temperature drop to more than the number we defined(10 C)
lower than passive trip, cooling devices will be canceled. this
is to avoid triggering/canceling cooling device back and forth when
temperature is around passive trip.

Signed-off-by: Anson Huang <b20788@freescale.com>
drivers/thermal/imx_thermal.c