Messages in this thread | | | Date | Mon, 24 Oct 2022 15:48:08 +0200 | Subject | Re: [PATCH] clk: imx8mp: register driver at arch_initcall time | From | Rasmus Villemoes <> |
| |
On 28/09/2022 14.41, Rasmus Villemoes wrote: > We have an imx8mp-based board with an external gpio-triggered > watchdog. Currently, we don't get to handle that in time before it > resets the board. > > The probe of the watchdog device gets deferred because the SOC's GPIO > controller is not yet ready, and the probe of that in turn gets deferred > because its clock provider (namely, this driver) is not yet > ready. Altogether, the watchdog does not get handled until the late > initcall deferred_probe_initcall has made sure all leftover devices > have been probed, and that's way too late. > > Aside from being necessary for our board, this also reduces total boot > time because fewer device probes get deferred.
ping
Rasmus
| |