staging: omap-thermal: common code to expose driver to thermal framework
authorEduardo Valentin <eduardo.valentin@ti.com>
Thu, 12 Jul 2012 16:02:30 +0000 (19:02 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 02:03:43 +0000 (19:03 -0700)
commit445eaf871bf94eb496b9b610e35b9e8c8830219f
tree2c89abecc7ed1d944797aef94d6ebe8087a5a6e4
parent8feaf0ce1a04328c490a4400b9e457f1f88252c8
staging: omap-thermal: common code to expose driver to thermal framework

This patch has the common thermal framework support for OMAP
bandgap driver. It includes the zone registration and unregistration,
the cpu cooling and the trip definitions.

The trips definition is essentially one trip for passive cooling
using the generic cpu cooling device and another one for thermal
shutdown. The cpu cooling device is built based on the existing
cpu freq table. The build should be agnostic to omap version,
but relies that cpufreq is up and running by the time the driver
registers the cpu cooling, as it relies on the table walk api
from cpufreq.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omap-thermal/Kconfig
drivers/staging/omap-thermal/Makefile
drivers/staging/omap-thermal/omap-thermal-common.c [new file with mode: 0644]
drivers/staging/omap-thermal/omap-thermal.h [new file with mode: 0644]
This page took 0.026806 seconds and 5 git commands to generate.