* FSL Driver load issues with OF
@ 2009-04-29 9:45 Benjamin Zores
2009-04-30 16:20 ` Scott Wood
0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Zores @ 2009-04-29 9:45 UTC (permalink / raw)
To: linuxppc-dev
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: FSL Driver load issues with OF
2009-04-29 9:45 FSL Driver load issues with OF Benjamin Zores
@ 2009-04-30 16:20 ` Scott Wood
2009-05-04 14:27 ` Benjamin Zores
0 siblings, 1 reply; 3+ messages in thread
From: Scott Wood @ 2009-04-30 16:20 UTC (permalink / raw)
To: Benjamin Zores; +Cc: linuxppc-dev
On Wed, Apr 29, 2009 at 11:45:20AM +0200, Benjamin Zores wrote:
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: FSL Driver load issues with OF
2009-04-30 16:20 ` Scott Wood
@ 2009-05-04 14:27 ` Benjamin Zores
0 siblings, 0 replies; 3+ messages in thread
From: Benjamin Zores @ 2009-05-04 14:27 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 748 bytes --]
Scott Wood wrote:
> On Wed, Apr 29, 2009 at 11:45:20AM +0200, Benjamin Zores wrote:
>
>> 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.
>
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
[-- Attachment #2: Type: text/html, Size: 1167 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-05-04 14:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-29 9:45 FSL Driver load issues with OF Benjamin Zores
2009-04-30 16:20 ` Scott Wood
2009-05-04 14:27 ` Benjamin Zores
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).