summaryrefslogtreecommitdiffstats
path: root/drivers/staging/omap-thermal/Kconfig
diff options
context:
space:
mode:
authorEduardo Valentin2012-07-12 18:02:30 +0200
committerGreg Kroah-Hartman2012-07-17 04:03:43 +0200
commit445eaf871bf94eb496b9b610e35b9e8c8830219f (patch)
tree2c89abecc7ed1d944797aef94d6ebe8087a5a6e4 /drivers/staging/omap-thermal/Kconfig
parentstaging: OMAP4+: thermal: introduce bandgap temperature sensor (diff)
downloadkernel-qcow2-linux-445eaf871bf94eb496b9b610e35b9e8c8830219f.tar.gz
kernel-qcow2-linux-445eaf871bf94eb496b9b610e35b9e8c8830219f.tar.xz
kernel-qcow2-linux-445eaf871bf94eb496b9b610e35b9e8c8830219f.zip
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/Kconfig9
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.