Re: [PATCH v6 8/8] mfd: axp20x: Add supported cells for AXP803
From: Lee Jones
Date: Mon Dec 10 2018 - 01:27:26 EST
On Sat, 08 Dec 2018, Quentin Schulz wrote:
> Hi Lee,
>
> On Fri, Dec 07, 2018 at 07:22:37PM +0000, Lee Jones wrote:
> > On Fri, 07 Dec 2018, Vasily Khoruzhick wrote:
> >
> > > On Fri, Dec 7, 2018 at 8:40 AM Lee Jones <lee.jones@xxxxxxxxxx> wrote:
> > >
> > > > My OCD-dar is going crazy.
> > > >
> > > > Why haven't you used the same alignment as is already there?
> > > >
> > > > If it starts to run over 80-chars then bring the others back.
> > > >
> > > > Also why is there a single liner shoved in the middle of the
> > > > multi-line entries? Please move the singles to the top or the
> > > > bottom.
> > >
> > > Hi Lee,
> > >
> > > Could you please reformat it in the way that makes your OCD-dar happy?
> > > It would be really nice to get
> >
> > I'm afraid not, for a multitude of reasons.
> >
> > The most important of which surround testing.
> >
> > > AC and battery support for APX8x3 merged -- it'll make Pinebook and
> > > Teres-I pretty well supported by mainline kernel.
> >
> > That's great. A worthy cause indeed. So I'm sure you guys will want
> > to turn the patch around in short order so that it's applied in time
> > for the next merge window.
> >
>
> Aren't the MFD cells probed in order?
>
> In that case, it makes little sense to short order them for this
> particular device (X-Powers PMICs in general). It will just make the
> system boot slower because of probe deferring.
>
> Why? As explained by Chen-Yu in v3[1], axp-gpios can be muxed as
> regulators, thus should be probed before axp-regulators. axp-adc is
> often used by axp-battery, axp-usb-power, axp-ac-power, thus should be
> probed beforehand as well.
If there are inter-dependencies between the devices, it makes sense to
keep them in the most efficient order.
> For the alignment that also triggered your OCD, I can send you a patch
> the day you merge this one if it can help. I sent a few patches for this
> driver that didn't respect the alignment so I'm fine fixing the mfd
> cells (and eventually re-order them as I saw a few axp-gpio cells being
> declared after axp-regulators).
That's fine. Please send the patch (based on this set) right away.
> Does that make this patch OK for you, Lee?
Yes, thank you.
--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog