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

From: Maxime Ripard
Date: Tue Jun 03 2014 - 09:15:16 EST


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_vcore_reg: dcdc2 {
> > + vin-supply = <&axp_ipsout_reg>;
>
> > axp_ddr_reg: dcdc3 {
> > + vin-supply = <&axp_ipsout_reg>;
>
> > axp_rtc_reg: ldo1 {
> > + vin-supply = <&axp_ipsout_reg>;
>
> > axp_analog_reg: ldo2 {
> > + vin-supply = <&axp_ipsout_reg>;
>
> > axp_pll_reg: ldo3 {
> > + vin-supply = <&axp_ipsout_reg>;
>
> > axp_hdmi_reg: ldo4 {
> > + vin-supply = <&axp_ipsout_reg>;
>
> > 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.

Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

Attachment: signature.asc
Description: Digital signature