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

From: Mark Brown
Date: Tue Nov 22 2016 - 13:42:35 EST


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: signature.asc
Description: PGP signature