From: Vitaly Bordug <vbordug@ru.mvista.com>
To: linuxppc-embedded@ozlabs.org
Subject: Re: I2C on MPC8272...
Date: Mon, 11 Sep 2006 15:57:28 +0400 [thread overview]
Message-ID: <20060911155728.7c1c441a@vitb.ru.mvista.com> (raw)
In-Reply-To: <BE8B3EECA608414FB163FBA4576FCEBD432009@EXNY.us.corp.aacisd.com>
On Fri, 8 Sep 2006 13:00:58 -0400
"Kuffner Cory" <CKuffner@LIO.AACISD.com> wrote:
> Hello all,
>
> Does anyone know how to use the I2C module for the MPC8272?? We are attempting to enable it by following code written for a bareboard system and converting it into a kernel module (2.6.11 Kernel), but nothing happens on our SDA and SCL data lines. The parameter ram is kind of tricky to set up, but I beleive we have everything pointing where it should. To write to the IMM we are using the ioremap function with ioread and iowrite, we can write to the ports so I don't think there is an issue writing to memory, but I'm new to embedded linux. Has anyone ever used the I2C controller in one of freescale's chips or just a good understanding of I2C modules in embedded linux?? I think all the chips have the same I2C interface....so it should be the same set up for MPC8250, 8255, 8260, etc.
>
I am recalling i2c functional on 8272, but no other details unfortunately. IIRC, i2c-mpc.c did the magic with some minor intervention.
Barely, to access immr it is ioremapped early, and cpm2_immr-> holds i2c controller, pram and other pleasant stuff. And, I am recalling i2c on 8540 working fine right out of the box...
--
Sincerely,
Vitaly
prev parent reply other threads:[~2006-09-11 11:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-08 17:00 I2C on MPC8272 Kuffner Cory
2006-09-11 11:57 ` Vitaly Bordug [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=20060911155728.7c1c441a@vitb.ru.mvista.com \
--to=vbordug@ru.mvista.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox