All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaap-Jan Boor <jjboor@aimsys.nl>
To: Jos Beck <jos_beck@euronet.nl>
Cc: linuxppc-embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: I2C implementation on MPC8260
Date: Wed, 05 May 2004 12:18:33 +0200	[thread overview]
Message-ID: <1083752313.15017.17.camel@linpc003.aimsys.nl> (raw)
In-Reply-To: <4098B547.5070101@euronet.nl>


On Wed, 2004-05-05 at 11:35, Jos Beck wrote:
> Hi,
>
> I am trying to get some i2c devices (RTC, EEPROM) to run on an MPC8260
> with kernel version 2.4.21.
> I have seen some fragmented information in the kernel source
> documentation and on this mailing list, but it's not clear to me what
> parts I can use and what I have to write myself.
>
> Could anyone tell me where and how to start?

I think you need i2c-core.c, i2c-dev.c, i2c-algo-8260.c and
a driver file that set's up (board specific) i2c port settings
and irq. I think there are examples in the denx tree.
(i2c-pm826.c)

This is more or less the standard thing to do:
check the denx tree.

Jaap-Jan
>
>
> Thanks,
>
> Jos
>
>
--
J.G.J. Boor                       Anton Philipsweg 1
Software Engineer                 1223 KZ Hilversum
AimSys bv                         tel. +31 35 689 1941
Postbus 2194, 1200 CD Hilversum   mailto:jjboor@aimsys.nl


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  parent reply	other threads:[~2004-05-05 10:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-05  9:35 I2C implementation on MPC8260 Jos Beck
2004-05-05 10:03 ` Wolfgang Denk
2004-05-05 10:18 ` Jaap-Jan Boor [this message]
2004-05-05 11:42 ` Jos Beck

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=1083752313.15017.17.camel@linpc003.aimsys.nl \
    --to=jjboor@aimsys.nl \
    --cc=jos_beck@euronet.nl \
    --cc=linuxppc-embedded@lists.linuxppc.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.