Re: [PATCH 08/22] regulator: Change ab8500 match names to reflectDevice Tree

From: Mark Brown
Date: Mon Jun 11 2012 - 06:36:32 EST


On Mon, Jun 11, 2012 at 11:27:53AM +0100, Lee Jones wrote:
> On 05/06/12 11:38, Mark Brown wrote:

> >You're missing something - note what I say above about the direction the
> >mapping is done in, and consider what happens if we've got two of the
> >same PMIC down in a system.

> I'm still not seeing how this would cause an issue. The only Device
> Tree nodes which will be parsed are the ones which are specified by
> a particular driver's compatible string, meaning that any other
> nodes referencing similar regulator/supply names would be ignored.

Suppose you have two devices of the same type with an array of name
based regulators, meaning the nodes with constraints have to have a
particular name in order to be matched to the regulator. How would a
consumer reference a node to specify a supply?

Attachment: signature.asc
Description: Digital signature