cpufreq: scmi: Register an Energy Model
authorQuentin Perret <quentin.perret@arm.com>
Mon, 4 Feb 2019 11:09:52 +0000 (11:09 +0000)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 7 Feb 2019 04:25:12 +0000 (09:55 +0530)
commit3c429851f9986103ce99c5747a795c6a6c572310
tree81d91b876700dba706ad39454076f604cdc7b1c8
parent2516d670052d5c3eb3253e5c815ff85bf0daf35a
cpufreq: scmi: Register an Energy Model

The Energy Model (EM) framework provides an API to register the active
power of CPUs. Call this API from the scmi-cpufreq driver by using the
power costs obtained from firmware. This is done to ensure interested
subsystems (the task scheduler, for example) can make use of the EM
when available.

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