linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* OF devices and non OF devices
@ 2007-07-03 14:54 Kári Davíðsson
  2007-07-03 16:31 ` John Rigby
  0 siblings, 1 reply; 11+ messages in thread
From: Kári Davíðsson @ 2007-07-03 14:54 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,

I am attempting to get some non OF devices working for an mpc 5200 =
board, in particular=20
PCF8563 RTC.

This device has an non OF device interface which I believe is correct. =
After all it should work
on non OF platforms.

I have managed to get the board to run the i2c initialization (and =
probe) for the fsl-mpc i2c driver by
converting the fsl-mpc i2c driver to OF driver (I found some patch here =
that I based this work on).

Since the PCF8563 driver is not OF driver only its initaliziation code =
is run but the .probe function
of the driver is never run. Basically (as far as I can understand) the =
.probe is never run because the
driver is not an OF driver.

I could convert the PCF8563 driver to OF driver and make it work for our =
puposes but I feel this is
1) Wrong
2) therefore wasted work.

What seems to elude me is some glue that glues together the OF part of =
the driver space to the non OF part
of the driver space.

Any hints or pointers on where to find this glue?

Regards,
kd

P.S. Kernel is post 2.6.20.

--=20
K=E1ri Dav=ED=F0sson                   | kari.davidsson@marel.is
Hugb=FAna=F0arger=F0                   | www.marel.com
Tel: 563-8156 Fax: +354 563 8001
Iceland

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

end of thread, other threads:[~2007-07-18 11:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-03 14:54 OF devices and non OF devices Kári Davíðsson
2007-07-03 16:31 ` John Rigby
2007-07-04  4:24   ` about FCC of MPC8270 li.chunlin
2007-07-04  5:42     ` Matvejchikov Ilya
2007-07-04  6:55       ` li.chunlin
2007-07-04  7:02         ` Matvejchikov Ilya
2007-07-04  7:50           ` li.chunlin
2007-07-04 12:00   ` OF devices and non OF devices Kári Davíðsson
2007-07-05 13:28     ` John Rigby
2007-07-05 17:20       ` John Rigby
2007-07-18 11:13         ` Kári Davíðsson

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