Messages in this thread | | | Date | Wed, 18 Apr 2001 14:13:33 -0500 (CDT) | From | Grant Erickson <> | 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/
| |