Thread (1 message) 1 message, 1 author, 2003-01-30

Re: I2C RTC with MPC8xx?

From: Wolfgang Denk <hidden>
Date: 2003-01-30 08:38:10

In message [ref] you wrote:
quoted
Use drivers/i2c/i2c-algo-8xx.c and add your own version of
drivers/i2c/i2c-ds1337.c ?
Hmm. But there must be at least one excample!?
Of course there are examples. Just look in drivers/i2c/
How else should all the people using PPCBoot/U-Boot and I2C RTCs on MPC8xx
platforms access them from Linux...

But where could I find one? Isn't LWMON using an I2C RTC? But I just can't find
the driver...
LWMON uses a Philips PCF8563 RTC, but the LWMON board uses a  special
(lean,  non-standard)  I2C  driver  (drivers/i2c/i2c-simple.c) so the
driver as used on LWMON ("drivers/char/pcf8563_rtc.c") will not  help
you  much.  But there is also a standard drivers fopr other RTC chips
in our source tree.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Let's say the docs present a simplified view of reality...    :-)
                      - Larry Wall in  [off-list ref]

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help