[PATCH 3/3] common: Move autoprobe out to board init

Simon Glass sjg at chromium.org
Fri Nov 1 16:32:51 CET 2024


Hi Tom,

On Mon, 21 Oct 2024 at 20:21, Tom Rini <trini at konsulko.com> wrote:
>
> On Mon, Oct 21, 2024 at 06:10:09PM +0200, Jonas Karlman wrote:
> > Hi Simon,
> >
> > On 2024-10-21 17:51, Simon Glass wrote:
> > > Rather than doing autoprobe within the driver model code, move it out to
> > > the board-init code. This makes it clear that it is a separate step from
> > > binding devices.
> >
> > It could probably be good to mention that after this patch the events
> > EVT_DM_POST_INIT_R/F will happen before autoprobe instead of after.
>
> And in updating some part of doc/develop/driver-model/ and referencing
> the discussion on the list, in the commit message with some Link: lines.

Oh, nice, I didn't know about that feature.

>
> And I mention the last one because I fear this is related to the
> regulator changes from Marek and it would be good to hear from him that
> this series doesn't break his devices, for example.

Yes, given him a week or so to reply, but I'd like to get this in
before rc2 since the ordering thing that Jonas pointed out could
conceivably cause issues.. With the updated patch, we have SPL covered
though.

Regards,
Simon


More information about the U-Boot mailing list