[RFC Patch 1/4] mfd: AXP20x: Add power supply bindings documentation
maxime.ripard at free-electrons.com
Wed Nov 5 06:48:32 PST 2014
On Tue, Nov 04, 2014 at 10:08:27PM +0100, Bruno Prémont wrote:
> On Tue, 04 November 2014 Maxime Ripard <maxime.ripard at free-electrons.com> wrote:
> > On Mon, Nov 03, 2014 at 09:02:44PM +0100, Bruno Prémont wrote:
> > > Doing something like this?:
> > >
> > > --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
> > > +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
> > > @@ -126,9 +126,11 @@
> > > interrupt-controller;
> > > #interrupt-cells = <1>;
> > >
> > > - backup = <3000000 200>;
> > > - battery.resistance = <100>;
> > > - battery.capacity = <2000>;
> > > + x-powers,backup = <3000000 200>;
> > I don't really remember what was that property used for. Would it make
> > sense to put it into the battery node?
> The backup/rtc battery is completely distinct from main battery.
> It's presence is in no way related to that of the main battery,
> thus I would not put it into the same node.
> As all the information needed is included in the property I see
> no reason to move it into a separate node.
Oh. So it is to model some button battery that might be here to keep
the RTC state while the board is unpowered?
How is that related to the PMIC?
Maybe modeling as a fixed regulator would be more accurate.
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the linux-arm-kernel