aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/devfreq_cooling.h
diff options
context:
space:
mode:
authorJavi Merino <javi.merino@arm.com>2015-09-10 18:09:29 +0100
committerEduardo Valentin <edubezval@gmail.com>2015-10-30 10:19:42 -0700
commitd6d007429f21626ad0f9cf96589151e0746f5648 (patch)
treedfe1fdf119ab1ecb61df53e62ed270bd13fa0a73 /include/linux/devfreq_cooling.h
parentthermal: ti-soc-thermal: add OMAP36xx support (diff)
downloadlinux-dev-d6d007429f21626ad0f9cf96589151e0746f5648.tar.xz
linux-dev-d6d007429f21626ad0f9cf96589151e0746f5648.zip
PM / OPP: get the voltage for all OPPs
The OPP library is now used for power models to calculate the power that a device would consume at a specific OPP. To do that, we use a simple power model which takes frequency and voltage as inputs. We get the voltage and frequency from the OPP library. The devfreq cooling device for the thermal framework controls temperature by disabling OPPs. The power model needs to calculate the power that would be consumed if we reenabled the OPP. Therefore, let dev_pm_opp_get_voltage() work for disabled OPPs. Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Javi Merino <javi.merino@arm.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'include/linux/devfreq_cooling.h')
0 files changed, 0 insertions, 0 deletions