diff options
author | Ørjan Eide <orjan.eide@arm.com> | 2015-09-10 19:09:30 +0200 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-10-30 18:21:01 +0100 |
commit | a76caf55e5b356ba20a5a43ac4d9f7a04b20941d (patch) | |
tree | 0048d23f06774d94e3856e3ac4da15e5ed88fb84 /drivers/thermal/Kconfig | |
parent | PM / OPP: get the voltage for all OPPs (diff) | |
download | linux-a76caf55e5b356ba20a5a43ac4d9f7a04b20941d.tar.xz linux-a76caf55e5b356ba20a5a43ac4d9f7a04b20941d.zip |
thermal: Add devfreq cooling
Add a generic thermal cooling device for devfreq, that is similar to
cpu_cooling.
The device must use devfreq. In order to use the power extension of the
cooling device, it must have registered its OPPs using the OPP library.
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Ørjan Eide <orjan.eide@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r-- | drivers/thermal/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 5aabc4bc0d75..90629f69bb22 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -147,6 +147,20 @@ config CLOCK_THERMAL device that is configured to use this cooling mechanism will be controlled to reduce clock frequency whenever temperature is high. +config DEVFREQ_THERMAL + bool "Generic device cooling support" + depends on PM_DEVFREQ + depends on PM_OPP + help + This implements the generic devfreq cooling mechanism through + frequency reduction for devices using devfreq. + + This will throttle the device by limiting the maximum allowed DVFS + frequency corresponding to the cooling level. + + In order to use the power extensions of the cooling device, + devfreq should use the simple_ondemand governor. + If you want this support, you should say Y here. config THERMAL_EMULATION |