Re: Regulator probe

From: Andy Shevchenko
Date: Fri Sep 09 2016 - 13:04:44 EST


On Fri, 2016-09-09 at 17:38 +0100, Mark Brown wrote:
> On Fri, Sep 09, 2016 at 07:10:39PM +0300, Andy Shevchenko wrote:
> >
> > On Fri, 2016-09-09 at 16:29 +0100, Mark Brown wrote:
>
> >
> > >
> > > ...and then we correctly report that the optional supply that
> > > isn't
> > > mapped (as far as I remember) isn't there.
>
> >
> > But it *will be* soon there.
>
> >
> > Hmm... And the proper fix for this case is... (let's assume there
> > will
> > not be device tree solution in nearest future)?
>
> To supply this particular mapping before you set full constraints.

Thanks for patience and explanation. I will look later how to achieve
this.

>
> >
> > If I remove has_full_constraints() call I will get EPROBE_DEFER on
> > all
> > optional regulators IIRC.
>
> Yes.

Which basically means that's not a solution I'm trying to get.

--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy