public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Steven Clugston <steven.clugston@newcastle.ac.uk>
Cc: "ecos-discuss@ecos.sourceware.org" <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] AT91 I2C driver
Date: Wed, 28 Oct 2009 12:38:00 -0000	[thread overview]
Message-ID: <20091028123741.GA11133@lunn.ch> (raw)
In-Reply-To: <4DCF6DBD3535F742BB167C528BBEE9803828B88A32@EXSAN01.campus.ncl.ac.uk>

On Wed, Oct 28, 2009 at 11:27:36AM +0000, Steven Clugston wrote:
> Is anybody out there interested in having/testing an AT91 I2C driver?
> 
> I'm currently having a stab at writing one using the lpc2xxx one as
> a reference, although I'm not sure if I'll actually have time to see
> it through to completion yet.

A word of caution. The Linux kernel guys consider the AT91 I2C device
to be FUBAR. 

http://cateee.net/lkddb/web-lkddb/I2C_AT91.html
http://www.mail-archive.com/git-commits-head@vger.kernel.org/msg24797.html
http://www.mail-archive.com/i2c@lm-sensors.org/msg02209.html

I think it is O.K. for single byte transfers, but anything more than
that could lead to problems.

Maybe you should consider bit banging the pins?

      Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2009-10-28 12:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-28 11:27 Steven Clugston
2009-10-28 12:38 ` Andrew Lunn [this message]
2009-10-28 13:04   ` Steven Clugston

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=20091028123741.GA11133@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=steven.clugston@newcastle.ac.uk \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).