]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
thermal: Add devfreq cooling
authorØrjan Eide <orjan.eide@arm.com>
Thu, 10 Sep 2015 17:09:30 +0000 (18:09 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 30 Oct 2015 17:21:01 +0000 (10:21 -0700)
commita76caf55e5b356ba20a5a43ac4d9f7a04b20941d
tree0048d23f06774d94e3856e3ac4da15e5ed88fb84
parentd6d007429f21626ad0f9cf96589151e0746f5648
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>
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/devfreq_cooling.c [new file with mode: 0644]
include/linux/devfreq_cooling.h [new file with mode: 0644]