Re: [PATCH v2 0/3] Make fw_devlink=on more forgiving

From: Martin Kaiser
Date: Wed Feb 03 2021 - 17:04:37 EST


Thus wrote Geert Uytterhoeven (geert@xxxxxxxxxxxxxx):

> > The property you are using is not a standard GPIO binding (-gpios,
> > gpio, gpios) and I'm not surprised it's not working. The gpio1 is
> > probably getting probe deferred and ends up running after "my_driver".

> So my_driver doesn't support deferred probe,

I know that the gpio definition in the device-tree is non-standard (and
should have been done differently).

Apart from this, the driver uses module_platform_driver_probe. My
understanding is that this prevents probe deferral.

Does this mean that from now on, a driver which requests a gpio must not
use module_platform_driver_probe?

Thanks,
Martin