Re: [PATCH V3 0/9] PM / OPP: Multiple regulator support

Mark Brown
2016-11-22T18:41:53Z

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]

On Tue, Nov 22, 2016 at 09:19:22AM +0530, Viresh Kumar wrote:

> So the LAST remaining question is:

> "How do we know (from the DT) the order in which entries for multiple regulators
> are present in the OPP table?"
>
> And I am not sure if we can do that without having a property like:
>
> + supply-names = "vcc0", "vcc1", "vcc2";
>
> in the OPP table or the consumer device. And surely it isn't a clean enough
> solution and that's why this series relied on the code to get such details.
>
> Does someone have an alternative? If NO, can we go ahead with this series as is?

I'm really not at all clear why this has to be in DT. My understanding
was that this is basically a helper library for more specific bindings
which already have to hard code things like sequencing so surely they'd
be specifying the ordering to be used when supplying data?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]