Re: [PATCH v2 1/2] regulator: Add generic DT parsing for regulators

2012-05-04 Thread Mark Brown
On Thu, Apr 26, 2012 at 04:52:20PM +0200, Thierry Reding wrote: Looking up init data for regulators found on chips is a common operation that can be handled in a generic way. The new helper function introduced by this patch looks up the children of a given node by names specified in a match

RE: [PATCH v2 1/2] regulator: Add generic DT parsing for regulators

2012-05-03 Thread Rhyland Klein
On 04/27/2012 11:38 AM, Stephen Warren wrote: On 04/27/2012 12:01 PM, Mark Brown wrote: On Thu, Apr 26, 2012 at 04:52:20PM +0200, Thierry Reding wrote: Looking up init data for regulators found on chips is a common operation that can be handled in a generic way. The new helper function

Re: [PATCH v2 1/2] regulator: Add generic DT parsing for regulators

2012-04-27 Thread Mark Brown
On Thu, Apr 26, 2012 at 04:52:20PM +0200, Thierry Reding wrote: Looking up init data for regulators found on chips is a common operation that can be handled in a generic way. The new helper function introduced by this patch looks up the children of a given node by names specified in a match

Re: [PATCH v2 1/2] regulator: Add generic DT parsing for regulators

2012-04-27 Thread Stephen Warren
On 04/27/2012 12:01 PM, Mark Brown wrote: On Thu, Apr 26, 2012 at 04:52:20PM +0200, Thierry Reding wrote: Looking up init data for regulators found on chips is a common operation that can be handled in a generic way. The new helper function introduced by this patch looks up the children of a

[PATCH v2 1/2] regulator: Add generic DT parsing for regulators

2012-04-26 Thread Thierry Reding
Looking up init data for regulators found on chips is a common operation that can be handled in a generic way. The new helper function introduced by this patch looks up the children of a given node by names specified in a match table and fills that match table with information parsed from the DT.