Re: [PATCH 3/5] regulator: axp20x: Update the bindings to use a local parent regulator

From: Mark Brown
Date: Tue Jun 03 2014 - 10:44:23 EST


On Tue, Jun 03, 2014 at 03:12:04PM +0200, Maxime Ripard wrote:
> On Wed, May 28, 2014 at 07:50:51PM +0100, Mark Brown wrote:
> > On Wed, May 28, 2014 at 07:11:07PM +0200, Maxime Ripard wrote:

> > > axp_mic_reg: ldo5 {
> > > + vin-supply = <&axp_ipsout_reg>;

> > This is saying that every single regulator on the device is powered by a
> > (presumably) single input called "vin". This would certainly be an
> > unusual package design... As ever the name of the supply should follow
> > the name of the pin on the device.

> Not exactly. Each regulator has its own input pin, named
> <regulator_name>in in the schematics, with the exception of LDO2 and
> LDO4 that share the same pin.

OK, so the supplies should be called <regulator_name>in then not vin.

Attachment: signature.asc
Description: Digital signature