From: David Hawkins <dwh@ovro•caltech.edu>
To: Adrian Craine <adrian.craine@nec•com.au>
Cc: linuxppc-embedded@ozlabs•org
Subject: Re: MPC8347 PQ2 I2C driver
Date: Tue, 20 Mar 2007 19:40:42 -0700 [thread overview]
Message-ID: <46009B2A.2020706@ovro.caltech.edu> (raw)
In-Reply-To: <46009113.6050501@nec.com.au>
Adrian Craine wrote:
> Hi all,
>
> Just a quick one, does any-one know if the i2c-mpc i2c driver will
> function on a Freescale MPC8347?
>
Seems to work fine on the MPC8349E-MDS-PB.
I believe one of the engineers just installed the lm-sensors
i2c tools and they worked fine, i.e., the i2c driver that
is built by default in the Denx kernel and LTIB kernel
works.
I know I've used the i2c tools without trouble.
If its any use, here's what appears to be running on the
board now (ELDK 4.0 based I believe ...)
bash-3.00# uname -a
Linux cobralab1 2.6.18-rc2 #1 Tue Aug 8 13:04:42 PDT 2006 ppc ppc ppc
GNU/Linux
Here's the output from an MPC8349E-MDS-PB bus #0
bash-3.00# i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- 31 -- -- -- -- -- -- -- -- -- -- -- -- -- 3f
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 51 -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
bash-3.00#
and bus #1
bash-3.00# i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- 21 -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
bash-3.00#
I've hooked up an AD7998 I2C eval board to bus #1
at address 21h. Normally you'd only see the EEPROM
at 50h.
Cheers,
Dave
prev parent reply other threads:[~2007-03-21 2:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-21 1:57 MPC8347 PQ2 I2C driver Adrian Craine
2007-03-21 2:39 ` Kumar Gala
2007-03-21 2:40 ` David Hawkins [this message]
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=46009B2A.2020706@ovro.caltech.edu \
--to=dwh@ovro$(echo .)caltech.edu \
--cc=adrian.craine@nec$(echo .)com.au \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox