Re: Regulator probe on demand (or circular dependencies)

Geert Uytterhoeven
2019-12-12T16:19:08Z

Hi Mark,

On Thu, Dec 12, 2019 at 4:57 PM Mark Brown <broonie@kernel.org> wrote:
> On Wed, Dec 11, 2019 at 10:42:43PM +0000, Kieran Bingham wrote:
sort of wondering if something like this could optimise away some
> > of the -EPROBE_DEFER iterations at a more global level, but I don't know
> > how or if that would work anyway.
>
> In theory someone could try to do some sort of sorting with the DT
> graph, people keep talking about it but nobody's done anything that I'm
> aware of.

"of_devlink" has landed in v5.5-rc1, cfr. commit a3e1d1a7f5fcccaf ("of:
property: Add functional dependency link from DT bindings").

I gave it a try on some boards lately. It improved the deferral situation on
Koelsch, but made it worse on Salvator-XS.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds