[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20074374-ae90-49c5-9e8d-67ce290b13ae@arm.com>
Date: Tue, 26 Mar 2024 08:29:06 +0000
From: Lukasz Luba <lukasz.luba@....com>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
dietmar.eggemann@....com, linux-arm-kernel@...ts.infradead.org,
sboyd@...nel.org, nm@...com, linux-samsung-soc@...r.kernel.org,
daniel.lezcano@...aro.org, rafael@...nel.org,
krzysztof.kozlowski@...aro.org, alim.akhtar@...sung.com,
m.szyprowski@...sung.com, mhiramat@...nel.org
Subject: Re: [RESEND][PATCH v2 1/4] OPP: OF: Export dev_opp_pm_calc_power()
for usage from EM
On 3/26/24 02:51, Viresh Kumar wrote:
> On 22-03-24, 11:08, Lukasz Luba wrote:
>> There are device drivers which can modify voltage values for OPPs. It
>> could be due to the chip binning and those drivers have specific chip
>> knowledge about it. This adjustment can happen after Energy Model is
>> registered, thus EM can have stale data about power.
>>
>> Export dev_opp_pm_calc_power() which can be used by Energy Model to
>> calculate new power with the new voltage for OPPs.
>>
>> Signed-off-by: Lukasz Luba <lukasz.luba@....com>
>> ---
>> drivers/opp/of.c | 17 ++++++++++++-----
>> include/linux/pm_opp.h | 8 ++++++++
>> 2 files changed, 20 insertions(+), 5 deletions(-)
>
> Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
>
Thanks Viresh for the ACK!
Regards,
Lukasz
Powered by blists - more mailing lists