Re: [PATCH 2/2] arm64: dts: qcom: sc7280: Add cpu OPP tables
From: Sudeep Holla <hidden>
Date: 2021-05-05 11:44:14
Also in:
linux-arm-msm, linux-pm, lkml
From: Sudeep Holla <hidden>
Date: 2021-05-05 11:44:14
Also in:
linux-arm-msm, linux-pm, lkml
On Wed, May 05, 2021 at 05:07:24PM +0530, Viresh Kumar wrote:
On 05-05-21, 09:49, Sudeep Holla wrote:quoted
No my main concern is this platform uses "qcom-cpufreq-hw" driver and the fact that the OPPs are retrieved from the hardware lookup table invalidates whatever we have in DT.Not exactly. It disables them all, and then call dev_pm_opp_adjust_voltage() and enable them again. This is how it started initially. Though the driver also works if the DT doesn't have the table, in that case it calls dev_pm_opp_add() for all the OPPs.
Ah OK, if it is handled in the driver, I will shut up then 😄. I did a quick look at it but couldn't understand the connection, so I started and continued the discussion. Thanks for the confirmation. I am fine if it is handled. -- Regards, Sudeep