Re: [PATCH 2/2] arm64: dts: imx8mm: Assign highest opp as suspend opp
From: Viresh Kumar
Date: Tue Jul 09 2019 - 00:45:12 EST
On 08-07-19, 08:54, Anson Huang wrote:
> Each OPP has "opp-supported-hw" property as below, the first value needs to be
> checked with speed grading fuse, and the second one needs to be checked with
> market segment fuse, ONLY both of them passed, then this OPP is supported. It
> calls dev_pm_opp_set_supported_hw() to tell OPP framework to parse the OPP
> table, this is my understanding.
>
> opp-supported-hw = <0x8>, <0x3>;
Right, so that's what I was expecting.
One thing we can do is change the binding of OPP core a bit to allow
multiple OPP nodes to contain the "opp-suspend" property and select
the one finally with the highest frequency. That would be a better as
a generic solution IMO.
And then a small OPP core patch will fix it.
--
viresh