Re: [PATCH V2 2/3] regulator: dt: add policy to have property"regulator-compatible"

From: Mark Brown
Date: Tue Jun 19 2012 - 13:53:53 EST


On Tue, Jun 19, 2012 at 11:43:56AM -0600, Stephen Warren wrote:
> On 06/19/2012 08:28 AM, Laxman Dewangan wrote:

> > + The regulator is matched with the regulator-compatible.

> That last sentence should be true for any chip containing multiple
> regulators and using the standard regulator binding. As such, shouldn't
> that property be part of regulator.txt, rather than each individual
> regulator chip's binding document?

No, there's more than one way to skin this cat. We can either have
something like this where there's a single DT node for all regulators on
the device or we can have an MFD where the regulators all appear
separately. This is certainly what the former case should be using but
it's less clear for the latter.

Attachment: signature.asc
Description: Digital signature