Messages in this thread | | | Date | Thu, 29 Apr 2004 23:49:45 +0100 | From | Russell King <> | Subject | Re: [PATCH] 2.6 I2C epson 8564 RTC chip |
| |
On Thu, Apr 29, 2004 at 03:40:07PM -0700, Tom Rini wrote: > A generic one for i2c rtcs or another generic rtc driver? There's > already drivers/char/genrtc.c...
genrtc.c lacks several features ARM needs, the big one being wakeup timers. It also only provides either (configurable) emulation or no support of various RTC features, rather than allowing a real RTC to provide them if it can - and you need to know the details of your RTC at kernel configuration time.
It provides no support for translating "RTC" time into seconds and vice versa which is needed for second-counter based RTCs found in PXA, StrongARM, and other ARM SoC platforms.
IOW, its fairly restrictive in what it provides and what it allows architectures to provide.
-- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 2.6 Serial core - 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/
| |