On 23-10-15, 01:39, Mark Brown wrote:
When we start doing this we also start having to worry about things like the sequencing of the updates between the various supplies and end up in full on power sequencing (or at least baking some sequencing into the DT which will doubtless need extending at some point).
Absolutely.
I'm not sure that's a place we want to end up just yet, I think it's safer to just have a little bit of code in the kernel that glues things together in the cases where this is needed.
So you are effectively saying that we shouldn't go ahead with multi regulator support in OPP library, right?
I went ahead with it as it came as a requirement (specially from Qcom).
To the problem of sequencing, maybe we can just support that for the simple case, where supplies will be programmed in the order in which they are present in the property I added in this patch. And not try to solve problem for the complex cases, if we feel it is getting ugly.
@Stephen ?