From: Wolfgang Denk <wd@denx.de>
To: Steven Scholz <steven.scholz@imc-berlin.de>
Cc: Linuxppc-Embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: I2C RTC with MPC8xx?
Date: Thu, 30 Jan 2003 09:38:10 +0100 [thread overview]
Message-ID: <20030130083815.4E4AEC608E@atlas.denx.de> (raw)
In-Reply-To: Your message of "Wed, 29 Jan 2003 14:05:17 +0100." <3E37D18D.7080900@imc-berlin.de>
In message <3E37D18D.7080900@imc-berlin.de> you wrote:
>
> > 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 <6940@jpl-devvax.JPL.NASA.GOV>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-01-30 8:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-29 12:37 I2C RTC with MPC8xx? Steven Scholz
2003-01-29 12:49 ` Wolfgang Denk
2003-01-29 13:05 ` Steven Scholz
2003-01-30 8:38 ` Wolfgang Denk [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-29 17:14 Keith Outwater
2003-01-30 8:35 ` Steven Scholz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030130083815.4E4AEC608E@atlas.denx.de \
--to=wd@denx.de \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=steven.scholz@imc-berlin.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).