diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2012-07-12 19:02:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-16 19:03:43 -0700 |
commit | 445eaf871bf94eb496b9b610e35b9e8c8830219f (patch) | |
tree | 2c89abecc7ed1d944797aef94d6ebe8087a5a6e4 /drivers/staging/omap-thermal/Kconfig | |
parent | 8feaf0ce1a04328c490a4400b9e457f1f88252c8 (diff) | |
download | linux-445eaf871bf94eb496b9b610e35b9e8c8830219f.tar.bz2 |
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>
Diffstat (limited to 'drivers/staging/omap-thermal/Kconfig')
-rw-r--r-- | drivers/staging/omap-thermal/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/staging/omap-thermal/Kconfig b/drivers/staging/omap-thermal/Kconfig index 8c9979dfaa69..f44228c1b598 100644 --- a/drivers/staging/omap-thermal/Kconfig +++ b/drivers/staging/omap-thermal/Kconfig @@ -9,3 +9,12 @@ config OMAP_BANDGAP This includes alert interrupts generation and also the TSHUT support. + +config OMAP_THERMAL + bool "Texas Instruments OMAP4+ thermal framework support" + depends on OMAP_BANDGAP + depends on CPU_THERMAL + help + If you say yes here you want to get support for generic thermal + framework for the Texas Instruments OMAP4460+ on die bandgap + temperature sensor. |