From: Javi Merino Date: Thu, 26 Feb 2015 19:00:29 +0000 (+0000) Subject: thermal: cpu_cooling: implement the power cooling device API X-Git-Tag: omap-for-v4.3/legacy-v2-signed~141^2^2^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c36cf0717631;p=pandora-kernel.git thermal: cpu_cooling: implement the power cooling device API Add a basic power model to the cpu cooling device to implement the power cooling device API. The power model uses the current frequency, current load and OPPs for the power calculations. The cpus must have registered their OPPs using the OPP library. Cc: Zhang Rui Cc: Eduardo Valentin Signed-off-by: Kapileshwar Singh Signed-off-by: Punit Agrawal Signed-off-by: Javi Merino Signed-off-by: Eduardo Valentin --- Reading git-diff-tree failed