diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-09-12 19:26:45 -0400 |
---|---|---|
committer | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-12-04 09:33:34 -0400 |
commit | 39d99cff76bf2992fd6dd4b1fc62da139e62e90c (patch) | |
tree | 632c6d587d4bac910705dd43fa4f854a1f9bb901 /drivers/thermal/Kconfig | |
parent | a116b5d44f144586ef03a93f14ddc63f4a85e906 (diff) | |
download | lwn-39d99cff76bf2992fd6dd4b1fc62da139e62e90c.tar.gz lwn-39d99cff76bf2992fd6dd4b1fc62da139e62e90c.zip |
thermal: cpu_cooling: introduce of_cpufreq_cooling_register
This patch introduces an API to register cpufreq cooling device
based on device tree node.
The registration via device tree node differs from normal
registration due to the fact that it is needed to fill
the device_node structure in order to be able to match
the cooling devices with trip points.
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r-- | drivers/thermal/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index a150f8d53322..3feb5377fbf6 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -92,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 |