diff options
author | Javi Merino <javi.merino@arm.com> | 2015-09-10 18:09:29 +0100 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-10-30 10:19:42 -0700 |
commit | d6d007429f21626ad0f9cf96589151e0746f5648 (patch) | |
tree | dfe1fdf119ab1ecb61df53e62ed270bd13fa0a73 /tools/thermal/tmon | |
parent | b840b6e65cbe2b84ec398bb286d121a9eb2597ee (diff) | |
download | linux-d6d007429f21626ad0f9cf96589151e0746f5648.tar.bz2 |
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 'tools/thermal/tmon')
0 files changed, 0 insertions, 0 deletions