linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* publishing OF platform devices
@ 2007-03-29 21:20 John Rigby
  2007-03-29 21:26 ` Sylvain Munaut
  0 siblings, 1 reply; 7+ messages in thread
From: John Rigby @ 2007-03-29 21:20 UTC (permalink / raw)
  To: linuxppc

I have a question about the "right" way to publish platform
devices via of_platform_bus_probe.

On 5200 platforms it gets called from
mpc52xx_declare_of_platform_devices which is registered as the
machdep_calls init routine.

On other platforms it is called via a device_initcall

I assume the main difference between these two is one would happen
later than the other?

Also I noticed that some 83xx platforms don't call
of_platform_bus_probe at all.  Thats ok because most of those devices
are register various routines in fsl_soc.c.  The one I have not
figured out yet is spi, I don't see anyone registering mpc83xx_spi?

Any enlightenment would be appreciated

Thanks
John

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-03-29 22:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-29 21:20 publishing OF platform devices John Rigby
2007-03-29 21:26 ` Sylvain Munaut
2007-03-29 21:56   ` Kim Phillips
2007-03-29 21:57   ` Arnd Bergmann
2007-03-29 22:07     ` Benjamin Herrenschmidt
2007-03-29 22:18       ` Arnd Bergmann
2007-03-29 22:25         ` Benjamin Herrenschmidt

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).