linux/drivers/thermal
Zhang Rui ce119f8325 Thermal: Introduce simple arbitrator for setting device cooling state
This fixes the problem that a cooling device may be referenced by
by multiple trip points in multiple thermal zones.

With this patch, we have two stages for updating a thermal zone,
1. check if a thermal_instance needs to be updated or not
2. update the cooling device, based on the target cooling state
   of all its instances.

Note that, currently, the cooling device is set to the deepest
cooling state required.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Rafael J. Wysocki <rjw@sisk.pl>
Reviewed-by: Eduardo Valentin <eduardo.valentin@ti.com>
2012-09-24 14:44:37 +08:00
..
Kconfig drivers/thermal/spear_thermal.c: add Device Tree probing capability 2012-06-02 01:49:38 -04:00
Makefile thermal: add support for thermal sensor present on SPEAr13xx machines 2012-03-22 01:05:32 -04:00
spear_thermal.c Thermal: Remove tc1/tc2 in generic thermal layer. 2012-09-24 14:44:36 +08:00
thermal_sys.c Thermal: Introduce simple arbitrator for setting device cooling state 2012-09-24 14:44:37 +08:00