diff options
author | Ørjan Eide <orjan.eide@arm.com> | 2015-09-10 18:09:30 +0100 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-10-30 10:21:01 -0700 |
commit | a76caf55e5b356ba20a5a43ac4d9f7a04b20941d (patch) | |
tree | 0048d23f06774d94e3856e3ac4da15e5ed88fb84 /drivers/thermal/Makefile | |
parent | d6d007429f21626ad0f9cf96589151e0746f5648 (diff) | |
download | linux-stable-a76caf55e5b356ba20a5a43ac4d9f7a04b20941d.tar.gz linux-stable-a76caf55e5b356ba20a5a43ac4d9f7a04b20941d.tar.bz2 linux-stable-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/Makefile')
-rw-r--r-- | drivers/thermal/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile index 26f160809959..cfae6a654793 100644 --- a/drivers/thermal/Makefile +++ b/drivers/thermal/Makefile @@ -22,6 +22,9 @@ thermal_sys-$(CONFIG_CPU_THERMAL) += cpu_cooling.o # clock cooling thermal_sys-$(CONFIG_CLOCK_THERMAL) += clock_cooling.o +# devfreq cooling +thermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o + # platform thermal drivers obj-$(CONFIG_QCOM_SPMI_TEMP_ALARM) += qcom-spmi-temp-alarm.o obj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o |