RE: I2C RTC with MPC8xx?

2 messages, 2 authors, 2003-01-30 · open the first message on its own page

RE: I2C RTC with MPC8xx?

From: Keith Outwater <hidden>
Date: 2003-01-29 17:14:58

Hi Stephen -

I am successfully using a DS1337 RTC with PPCBoot/U-Boot and a
linux-2.4.4-10-06 kernel from the Denx FTP site. I haven't gotten around
to submitting it, but let me know if you want the patch.

Keith

Keith Outwater
Sr. Staff Engineer
Microvision, Inc.
19910 N. Creek Parkway
Bothell, WA 98011

-----Original Message-----
From: Steven Scholz [mailto:steven.scholz@imc-berlin.de]
Sent: Wednesday, January 29, 2003 4:38 AM
To: Linuxppc-Embedded
Subject: I2C RTC with MPC8xx?



Hi there,

what do I have to do to use an I2C RTC (like Dallas DS1337)
within LinuxPPC?

I know there're drivers for PPCBoot / U-Boot.

But how could I access them from Linux?

drivers/char/rtc_8xx.c is not suitable.

Thanks,

Steven



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

Re: I2C RTC with MPC8xx?

From: Steven Scholz <hidden>
Date: 2003-01-30 08:35:20

Keith Outwater schrieb:
Hi Stephen -

I am successfully using a DS1337 RTC with PPCBoot/U-Boot and a
linux-2.4.4-10-06 kernel from the Denx FTP site. I haven't gotten around
to submitting it, but let me know if you want the patch.
I actually wouldn't mind! :o)

I guess it's not to hard to put it onto 2.4.20.
Yesterday I received a file from Jocke. I would be more than happy to compare them.

Maybe Wolfgang is putting that on his 2.4.20 CVS someday!

BTW I think I'll need the DS1307. Hope it's only a differnt pinout. It has a
dedicated battery pin and no irq output.

Is the driver or linux using RTC interrupts?

Thanks a million,

Steven


** 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