All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Bruce <dbruce@ll.mit.edu>
To: linuxppc-embedded@ozlabs.org
Subject: Re:problem opening I2C device on MPC8260
Date: Mon, 14 Mar 2005 14:18:31 -0500	[thread overview]
Message-ID: <4235E387.4000807@ll.mit.edu> (raw)

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

                 reply	other threads:[~2005-03-14 19:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4235E387.4000807@ll.mit.edu \
    --to=dbruce@ll.mit.edu \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.