Re: Bitbanging i2c bus driver using the GPIO API

Jordan Crouse
2007-04-27T14:49:33Z

On 27/04/07 10:02 +0200, Jean Delvare wrote:
> On Thu, 26 Apr 2007 10:03:23 -0400, Lennart Sorensen wrote:
> > On Thu, Apr 26, 2007 at 07:39:20AM -0600, Jordan Crouse wrote:
> > > There is no ISA on the LX.
> >
> > Isn't LPC a good equivalent?
>
> I suspect that Jordan meant that there is no LPC either. In which case,
> of course, there's no way scx200_acb will ever work on that system, and
> GPIO-based bitbanging is the way to go. Just using i2c-gpio rather than
> scx200_i2c.

This is getting confusing... :) On the sc1200 and and GX1, the ACB
bus is accessed through ISA ports. There is no ISA on the cs5535/cs5536
companion chips (accompanying the GX and LX processors), and the ACB
is accessed through PCI. All the platforms have LPC, but that really
doesn't matter for the purposes of this discussion.

The silicon block that implements the ACB has been generally unchanged
over the last 6 or 7 years, so the same driver should support any of
the platforms, assuming one can invoke the magic spells to get at the
hardware. Jean and I have been concentrating most of our effort on
getting the GX and LX to work through PCI, and really haven't concentrated
our efforts on the older processors. Thats not to say it won't work,
but its probably not plug and play.

Jordan

--
Jordan Crouse
Senior Linux Engineer
Advanced Micro Devices, Inc.
<www.amd.com/embeddedprocessors>