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

z l zql at glomationinc.com
Mon Apr 30 15:42:14 CEST 2007

> 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:
> But I don't know how up-to-date it is. You may want
> to contact Lennert
> Buytenhek for a status update.

I found a version in Michael Burian's GIT tree at
 and applied it against the 2.6.20.  I also used his
ds1337glue.c to create the RTC device interface so the
RTC can be accessed from user space.  It works very
well now.  We can use hwclcok to set and get time to
ds1337.  As Michael mentioned the ds1337glue probably
is not the "correct" way of doing it, but we need a
solution now so we will use it until the correct
access method is available.


More information about the i2c mailing list