cpufreq: scpi: Register an Energy Model
authorQuentin Perret <quentin.perret@arm.com>
Mon, 4 Feb 2019 11:09:50 +0000 (11:09 +0000)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 7 Feb 2019 04:25:11 +0000 (09:55 +0530)
commit6915d7ad2105447776aa1a2ee83170f98de0a4e5
treebd732466e17c0cb6a44e4489c3c6aedbbfd26bf6
parent76d004bf72c9c7bcbcb9ff092898530cedbca296
cpufreq: scpi: Register an Energy Model

Now that PM_OPP provides a helper function to estimate the power
consumed by CPUs, make sure to try and register an Energy Model (EM)
from scpi-cpufreq, hence ensuring interested subsystems (the task
scheduler, for example) can make use of that information when available.

Signed-off-by: Quentin Perret <quentin.perret@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/scpi-cpufreq.c