summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/Kconfig
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2014-01-02 02:39:36 +0100
committerZhang Rui <rui.zhang@intel.com>2014-01-02 02:39:36 +0100
commitc1b7bac58fb0d251f86efe7daec1a2851b7792bf (patch)
tree55b7f7e601dbfb7215f16ff3cfe0496b2d47e345 /drivers/thermal/Kconfig
parentMerge branch 'leds-fixes-for-3.13' of git://git.kernel.org/pub/scm/linux/kern... (diff)
parentMAINTAINERS: add thermal bindings entry in thermal domain (diff)
downloadlinux-c1b7bac58fb0d251f86efe7daec1a2851b7792bf.tar.xz
linux-c1b7bac58fb0d251f86efe7daec1a2851b7792bf.zip
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal into soc-thermal
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r--drivers/thermal/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index f35a1f75b15b..3feb5377fbf6 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -29,6 +29,19 @@ config THERMAL_HWMON
Say 'Y' here if you want all thermal sensors to
have hwmon sysfs interface too.
+config THERMAL_OF
+ bool
+ prompt "APIs to parse thermal data out of device tree"
+ depends on OF
+ default y
+ help
+ This options provides helpers to add the support to
+ read and parse thermal data definitions out of the
+ device tree blob.
+
+ Say 'Y' here if you need to build thermal infrastructure
+ based on device tree.
+
choice
prompt "Default Thermal governor"
default THERMAL_DEFAULT_GOV_STEP_WISE
@@ -79,6 +92,7 @@ config THERMAL_GOV_USER_SPACE
config CPU_THERMAL
bool "generic cpu cooling support"
depends on CPU_FREQ
+ depends on THERMAL_OF
help
This implements the generic cpu cooling mechanism through frequency
reduction. An ACPI version of this already exists