Skip to contentSkip to conversation

FSL Driver load issues with OF

DISCUSSION Benjamin Zores 2 participants 3 messages Apr 29, 2009 – May 4, 2009

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 7 lines · Benjamin Zores

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.

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

#2 lore raw
Quoted 6 lines · Scott Wood
Quoted 4 lines · Benjamin Zores

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.

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