]> git.baikalelectronics.ru Git - kernel.git/commit
Thermal: Add ST-Ericsson DB8500 thermal driver.
authorhongbo.zhang <hongbo.zhang@linaro.com>
Thu, 15 Nov 2012 10:56:42 +0000 (18:56 +0800)
committerZhang Rui <rui.zhang@intel.com>
Thu, 15 Nov 2012 12:50:34 +0000 (20:50 +0800)
commite5a45ce0707de0a1606bb1d4b37eddb0045a1489
treee7118568c9722dc1dc69c5f19c6218be3185ab79
parente918032a45e72a3a84cd1f3a8cec5c6faaa97c2a
Thermal: Add ST-Ericsson DB8500 thermal driver.

This driver is based on the thermal management framework in thermal_sys.c. A
thermal zone device is created with the trip points to which cooling devices
can be bound, the current cooling device is cpufreq, e.g. CPU frequency is
clipped down to cool the CPU, and other cooling devices can be added and bound
to the trip points dynamically.  The platform specific PRCMU interrupts are
used to active thermal update when trip points are reached.

Signed-off-by: hongbo.zhang <hongbo.zhang@linaro.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Francesco Lavra <francescolavra.fl@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Documentation/devicetree/bindings/thermal/db8500-thermal.txt [new file with mode: 0644]
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/db8500_cpufreq_cooling.c [new file with mode: 0644]
drivers/thermal/db8500_thermal.c [new file with mode: 0644]
include/linux/platform_data/db8500_thermal.h [new file with mode: 0644]