[i2c] problem with DS1337 RTC connected to Cirrus Logic EP93XX

Jean Delvare khali at linux-fr.org
Fri May 4 15:39:35 CEST 2007


Hi Lennert,

On Mon, 30 Apr 2007 15:12:59 +0200, Lennert Buytenhek wrote:
> On Mon, Apr 30, 2007 at 03:07:34PM +0200, Jean Delvare wrote:
> 
> > i2c-algo-bit is a software thing only. You need an I2C bus driver to
> > bind it to the physical EEDAT & EECLK lines. I seem to remember a
> > driver named i2c-ep93xx, except that it is not in mainline. I found
> > this:
> > https://dev.contec.at/dev/micro/micro9/LINUX/trunk/kernel/linux-2.6/patches/ep93xx-i2c-bus.diff
> > But I don't know how up-to-date it is. You may want to contact Lennert
> > Buytenhek for a status update.
> 
> The latest one I have is:
> 
> 	http://svn.wantstofly.org/kernel/ep93xx-i2c-bus.diff
> 
> This seems like a nice opportunity to pimp the driver for
> upstream inclusion.  I've attached it below.  How does it look?
> (...)
> I2C bus driver using ep93xx GPIOs.

We will have a brand new generic I2C-over-GPIO driver in 2.6.22. As the
i2c-ep93xx driver relies on GPIO as well, I'd like you to look into the
generic driver and see how you could use it instead.

http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/broken-out/jdelvare-i2c-i2c-gpio-new-bus-driver.patch

Thanks,
-- 
Jean Delvare



More information about the i2c mailing list