[PATCH v2 4/4] cpufreq: scmi: Support the power scale in micro-Watts in SCMI v3.1

Viresh Kumar viresh.kumar at linaro.org
Thu Jul 7 03:52:57 PDT 2022


On 07-07-22, 08:15, Lukasz Luba wrote:
> 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 at arm.com>
> Signed-off-by: Lukasz Luba <lukasz.luba at arm.com>
> ---
>  drivers/cpufreq/scmi-cpufreq.c | 15 ++++++++++-----
>  1 file changed, 10 insertions(+), 5 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar at linaro.org>

-- 
viresh



More information about the Linux-mediatek mailing list