Re: [PATCH v3] Bitbanging i2c bus driver using the GPIO API

Jean Delvare
2007-04-20T17:49:23Z

Hi Lennart,

On Thu, 19 Apr 2007 16:59:42 -0400, Lennart Sorensen wrote:
> On Thu, Apr 19, 2007 at 08:54:13AM +0200, Jean Delvare wrote:
> > The major difference is that the implementation in scx200_i2c is
> > hardware-specific, while the i2c-gpio driver is a generic one, so it's
> > a lot better.
> >
> > What this means is that i2c-gpio obsoletes scx200_i2c, so I am inclined
> > to delete scx200_i2c right away. I'm not even sure anyone still uses it
> > now that scx200_acb has been fixed and is reported to work very well.
> > If anyone really needs to do I2C over GPIO pins on SCx200, this should
> > be reimplemented on top of i2c-gpio.
>
> I use scx200_i2c. The SBC I am using doesn't work with the scx200_acb
> (different pins on the cpu after all). I would love to see it
> reimplemented using the generic interface, since there isn't that many
> lines of code involved as far as I can tell. Well scx200_acb works fine
> on a Geode LX board, but not on a Geode SC1200 board. Unless it has
> been fixed since 2.6.18, then it still doesn't work, but scx200_i2c
> works perfectly fine.

The scx200_acb driver was heavily modified in 2.6.17 and 2.6.18, not
much since then. I am not familiar with the hardware so I can't comment
on which chips are supposed to work and which aren't.

--
Jean Delvare