Thread (17 messages) 17 messages, 4 authors, 2011-10-04

Re: [PATCH 2/9] regulator: helper routine to extract regulator_init_data

From: Mark Brown <hidden>
Date: 2011-09-30 10:28:49
Also in: linux-arm-kernel, linux-omap

Possibly related (same subject, not in this thread)

On Fri, Sep 30, 2011 at 09:57:30AM +0530, Rajendra Nayak wrote:
Mark, I still seem to be a little confused with this one as to why
we would need a phandle *and* a supply-name to reference a parent
regulator/supply.
The phandle would point to a regulator dt node and that node internally
would have just one name associated with it.
To repeat: the supply name is for the consumer.  It is needed so that
the consumer can tell which supply is provided by which regulator.
Almost all devices have more than one supply and if the device does
anything more complicated than just turning on all the supplies when the
device is active it's going to need to figure out which supply is which.

Also, please do remember to keep linux-kernel in the loop on all
regulator API discussion - you should always keep the relevant mailing
lists in the loop for any subsystem you're changing.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help