FSL Driver load issues with OF
Hi there,
Since the progressive migration of some PPC drivers to use of_platform bus (typically migrating OF parsing from fsl_soc.c to the device probe/init functions), I'm experiencing driver load issues.
Actually, I'm not longer able to load of these drivers as the probe() function is never called. Everything goes fine if I put code back to fsl_soc.c with the arch_initcall() command.
Example of drivers that do no longer load for me: gianfar, talitos ... Is there something obvious that I've missed ?
Ben
Quoted 7 lines · Benjamin Zores
Since the progressive migration of some PPC drivers to use
of_platformbus (typically migrating OF parsing fromfsl_soc.cto the device probe/init functions),
I'm experiencing driver load issues.Actually, I'm not longer able to load of these drivers as the
probe()function is never called.
Make sure your board is calling of_platform_bus_probe(), and that the devices you're trying to probe are under buses described by the id list.
-Scott
Quoted 6 lines · Scott Wood
Quoted 4 lines · Benjamin Zores
Since the progressive migration of some PPC drivers to use
of_platformbus (typically migrating OF parsing fromfsl_soc.cto the device probe/init functions), I'm experiencing driver load issues.
Quoted 6 lines
Quoted 2 lines
Actually, I'm not longer able to load of these drivers as the
probe()function is never called.Make sure your board is calling
of_platform_bus_probe(), and that the devices you're trying to probe are under buses described by the id list.
Thx for spotting this point.
When porting my custom board I indeed had a part of code that returned before of_platform_bus_probe() can be called. Thx again, it now works fine.
Ben