Skip to content
Commit 03eb909a authored by Quentin Perret's avatar Quentin Perret Committed by Dietmar Eggemann
Browse files

cpufreq: dt: Register an Energy Model



The Energy Model framework provides an API to register the active power
of CPUs. Call this API from the cpufreq-dt driver with an estimation
of the power as P = C * V^2 * f with C, V, and f respectively the
capacitance of the CPU and the voltage and frequency of the OPP.

The CPU capacitance is read from the "dynamic-power-coefficient" DT
binding (originally introduced for thermal/IPA), and the voltage and
frequency values from PM_OPP.

Change-Id: Id7b79ae3aafcc53574b850cb91a25240ebffbdd4
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarQuentin Perret <quentin.perret@arm.com>
parent 20cb31b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment