From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alessandro Zummo Subject: Re: [rtc-linux] Re: [PATCH/RFC 0/5] Generic RTC class driver Date: Tue, 24 Feb 2009 19:37:08 +0100 Message-ID: <20090224193708.5f8be86c@i1501.lan.towertech.it> References: <1235144809-32468-1-git-send-email-Geert.Uytterhoeven@sonycom.com> <20090220170454.04382e9e@i1501.lan.towertech.it> <20090223160506.04e347c7@i1501.lan.towertech.it> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mx0.towertech.it ([213.215.222.73]:53818 "HELO mx0.towertech.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751777AbZBXShS (ORCPT ); Tue, 24 Feb 2009 13:37:18 -0500 In-Reply-To: Sender: linux-m68k-owner@vger.kernel.org List-Id: linux-m68k@vger.kernel.org To: rtc-linux@googlegroups.com Cc: Geert.Uytterhoeven@sonycom.com, Richard Zidlicky , linux-parisc@vger.kernel.org, Linux Kernel Development , David@ozlabs.org, Kyle McMartin , Linux/PPC Development , Linux/m68k , Woodhouse , Benjamin Herrenschmidt On Tue, 24 Feb 2009 18:56:03 +0100 (CET) Geert Uytterhoeven wrote: > > On Mon, 23 > > > > I'd start writing a working driver and then see how we should eventually > > adapt the rtc subsystem to cope with your needs. > > OK, so here's a first example: rtc-ps3. > > Note that this single patch adds 100+ lines of code, while my previous patch > series removed 500+ lines of code, while solving the autoloading problem for > several ppc and m68k platforms. This patch has a much cleaner approach, imho. > Converting all (ca. 20?) ppc and m68k RTC support code into individual RTC > class drivers would add ca. 100+ lines of code for each individual driver. How different are all of those boards? It's simply a matter of parameters and offsets? can we group them somehow? -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it