[PATCH V7 3/3] OPP: Add binding for 'opp-suspend'

Viresh Kumar viresh.kumar at linaro.org
Mon Jun 15 17:31:58 PDT 2015


On 16 June 2015 at 05:05, Rob Herring <robherring2 at gmail.com> wrote:
>> +- opp-suspend: Phandle of the OPP to set while device is suspended.
>> +
>
> I would just do a bool property in the OPP you want.

I will do that if you want, no big deal.

But I would like to explain why I did it this way. Nishanth asked the same
thing earlier and now he looks convinced :)

There can only be one OPP that can be selected during suspend. Allowing
more than one OPP to select this property doesn't look like the right thing
to me. In that case we have to make a rule that the first OPP in the table
will be selected or error out in that case.

And I thought that this is property of the table, instead of each OPP. For
example, in code this will waste lots of space if we choose such a field
in individual OPPs, and we will always keep it in the OPP-table thing..

But then this is DT :)

I will wait for your reply Rob on this, and then will send an update. Thanks.



More information about the linux-arm-kernel mailing list