Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265020AbUD2Wuy (ORCPT ); Thu, 29 Apr 2004 18:50:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265021AbUD2Wuy (ORCPT ); Thu, 29 Apr 2004 18:50:54 -0400 Received: from caramon.arm.linux.org.uk ([212.18.232.186]:57868 "EHLO caramon.arm.linux.org.uk") by vger.kernel.org with ESMTP id S265020AbUD2Wtx (ORCPT ); Thu, 29 Apr 2004 18:49:53 -0400 Date: Thu, 29 Apr 2004 23:49:45 +0100 From: Russell King To: Tom Rini Cc: Ian Campbell , stefan.eletzhofer@eletztrick.de, Linux Kernel Mailing List , Andrew Morton , Greg KH Subject: Re: [PATCH] 2.6 I2C epson 8564 RTC chip Message-ID: <20040429234945.M16407@flint.arm.linux.org.uk> Mail-Followup-To: Tom Rini , Ian Campbell , stefan.eletzhofer@eletztrick.de, Linux Kernel Mailing List , Andrew Morton , Greg KH References: <20040429120250.GD10867@gonzo.local> <1083242482.26762.30.camel@icampbell-debian> <20040429135408.G16407@flint.arm.linux.org.uk> <20040429224007.GA15265@smtp.west.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20040429224007.GA15265@smtp.west.cox.net>; from trini@kernel.crashing.org on Thu, Apr 29, 2004 at 03:40:07PM -0700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1167 Lines: 27 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/