summaryrefslogtreecommitdiff
path: root/kernel/panic.c
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 /kernel/panic.c
parentb840b6e65cbe2b84ec398bb286d121a9eb2597ee (diff)
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 'kernel/panic.c')
0 files changed, 0 insertions, 0 deletions