On Sun, Dec 07, 2014 at 11:18:28PM +0800, Chen-Yu Tsai wrote:
> >> +     reg_vcc3v0: vcc3v0 {
> >> +             compatible = "regulator-fixed";
> >> +             regulator-name = "vcc3v0";
> >> +             regulator-min-microvolt = <3000000>;
> >> +             regulator-max-microvolt = <3000000>;
> >> +     };
> >
> > There's already such a regulator in sunxi-common-regulators.
> 
> I cannot include sunxi-common-regulators, not without a lot of work.
> sunxi-common-regulators includes a soc/pio node, but the addresses,
> and thus the node names are different. This results in:
> 
> ERROR (duplicate_label): Duplicate label 'pio' on
> /soc@01c00000/pinctrl@01c20800 and /soc/pinctrl@06000800
> 
> If we move to preprocessor-based includes and phandle referencing
> (&pio { .... })
> to override/add nodes and properties, then it would work. But that is
> a lot of work
> going through all of our DTs.

Not really, you can just do so in sunxi-common-regulator. There's no
need to do it everywhere else.

Maxime

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

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Digital signature

Reply via email to