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)
commitaa1acb0451bb27add173d9641d0b74c58889e693
treee7118568c9722dc1dc69c5f19c6218be3185ab79
parent445110e9d05e693c5e511717a010969175878754
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]