linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* rtc access with i2c
@ 2004-02-25  1:33 Kanchana Sethu
  2004-02-25 18:01 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Kanchana Sethu @ 2004-02-25  1:33 UTC (permalink / raw)
  To: linuxppc-dev


I am developing a driver for an rtc chip on an
embedded ppc platform that sits on the i2c bus.  Can I
use the generic i2c primitives to access it or is it
not available on that point in the boot process?

Kanchana Sethu


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: rtc access with i2c
  2004-02-25  1:33 rtc access with i2c Kanchana Sethu
@ 2004-02-25 18:01 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2004-02-25 18:01 UTC (permalink / raw)
  To: Kanchana Sethu; +Cc: linuxppc-dev


On Tue, Feb 24, 2004 at 05:33:24PM -0800, Kanchana Sethu wrote:

> I am developing a driver for an rtc chip on an
> embedded ppc platform that sits on the i2c bus.  Can I
> use the generic i2c primitives to access it or is it
> not available on that point in the boot process?

Yes, you can.  Take a look at
http://www.gihyo.co.jp/book/2004/640402/download/linux-2.6.0-test10-obs266.diff
and the x1226-rtc.c code in there.

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-25 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-25  1:33 rtc access with i2c Kanchana Sethu
2004-02-25 18:01 ` Tom Rini

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).