* Re:problem opening I2C device on MPC8260
@ 2005-03-14 19:18 David Bruce
0 siblings, 0 replies; only message in thread
From: David Bruce @ 2005-03-14 19:18 UTC (permalink / raw)
To: linuxppc-embedded
Look back into the February logs of this group that was having simular
discussions.
In short:
a.) 2.6 has some problems with the I2C. You may have to port over 2.4
i2c code. I don't know the specific details.
b.) you need an adapter interface to create your device(s) (/dev/i2c-0).
See ./drivers/i2c/i2c-pm826.c. You should be able to use this untouched.
It is part of the configuration in 2.4.x.
c.) The 2.4 version of i2c-algo-8260.c has a potential bug where all the
__pa()'s need to be replaced by iopa().
I am using 2.4.24 of the ELDK and had problems with the i2c. Items b & c
corrected them except that with "b" I had to load it *after* boot as a
module. Don't know why but it works and have successfully used the i2c
since.
--
David Bruce
MIT Lincoln Laboratory
244 Wood Street
Lexington, MA 02420
781.981.3863
mailto:dbruce@ll.mit.edu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-14 19:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-14 19:18 Re:problem opening I2C device on MPC8260 David Bruce
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).