Re: Kernel Real Time Clock (RTC) Support for I2C Devices

From: johan.adolfsson@axis.com
Date: Thu Apr 19 2001 - 06:33:35 EST


Support for DS1302 is available in the CRIS port.
A patch for 2.4.3 (and a lot of other stuff you don't need) is available in
http://developer.axis.com/download/devboard_lx/R1_0_0/

/Johan

----- Original Message -----
From: Grant Erickson <erick205@umn.edu>
To: Linux I2C Mailing List <linux-i2c@pelican.tk.uni-linz.ac.at>; Linux/PPC
Embedded Mailing List <linuxppc-embedded@lists.linuxppc.org>; Linux Kernel
Mailing List <linux-kernel@vger.kernel.org>
Sent: Wednesday, April 18, 2001 9:13 PM
Subject: Kernel Real Time Clock (RTC) Support for I2C Devices

> I have been unable to find an answer for this in the LKML archives, so I
> am hoping someone on this list might perhaps have some insight or pointers
> thereto on this question.
>
> I have an embedded board with a PowerPC 405GP on which Linux 2.4.2
> (MontaVista's version thereof) is running swimmingly. Attached to that
> PowerPC's I2C controller is a Dallas DS1307 I2C RTC.
>
> >From the looks of drivers/char/rtc.c it would appear that this kernel
> driver only supports bus-attached RTCs such as the mentioned MC146818. Is
> this correct?
>
> What is the correct access method / kernel tie-in for supporting such an
> I2C-based RTC device using the "standard" interfaces?
>
> My hope is to use 'hwclock' from util-linux w/o modification. Is this
> reasonable?
>
> Thanks,
>
> Grant Erickson
>
>
> --
> Grant Erickson University of Minnesota Alumni
> o mail:erick205@umn.edu 1996 BSEE
> o http://www.umn.edu/~erick205 1998 MSEE
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 23 2001 - 21:00:30 EST