Thus wrote Geert Uytterhoeven (geert@linux-m68k.org):
quoted
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