diff options
author | Lukasz Luba | 2022-07-07 08:15:55 +0100 |
---|---|---|
committer | Rafael J. Wysocki | 2022-07-15 19:17:30 +0200 |
commit | f3ac888fc5fbdeeec1e084327de06a2765542d56 (patch) | |
tree | 8182724665d3bf10f3391e0908cdeff728d799e7 /kernel | |
parent | 5e0fd2026cdd474a85b3135c312912321e60f47a (diff) |
cpufreq: scmi: Support the power scale in micro-Watts in SCMI v3.1
The SCMI v3.1 adds support for power values in micro-Watts. They are not
always in milli-Watts anymore (ignoring the bogo-Watts). Thus, the power
must be converted conditionally before sending to Energy Model. Add the
logic which handles the needed checks and conversions.
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions