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, 3 Mar 2009 14:53:45 +0100 Message-ID: <20090303145345.3751a471@i1501.lan.towertech.it> References: <1235144809-32468-1-git-send-email-Geert.Uytterhoeven@sonycom.com> <20090220170454.04382e9e@i1501.lan.towertech.it> <1235511327.18632.73.camel@macbook.infradead.org> <20090224231154.60ba18d6@i1501.lan.towertech.it> <1235514727.18632.93.camel@macbook.infradead.org> <20090225111836.621412c1@i1501.lan.towertech.it> <20090227185514.GA1071@linux-m68k.org> <20090302110310.35af50ea@i1501.lan.towertech.it> <20090302120950.0d35e06c@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]:54961 "HELO mx0.towertech.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750750AbZCCNxz (ORCPT ); Tue, 3 Mar 2009 08:53:55 -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 , David Woodhouse , linux-parisc@vger.kernel.org, Linux Kernel Development , Kyle McMartin , Linux/PPC Development , Linux/m68k , Benjamin Herrenschmidt On Tue, 3 Mar 2009 11:41:23 +0100 (CET) Geert Uytterhoeven wrote: > rtc-generic is already in the kernel, it's just called rtc-parisc ;-) Really? I never saw it :) > > But I'd strongly suggest to plan and execute a conversion process. > > So would you accept a patch series that: > 1. Adds the missing module aliases to rtc-parisc (which is a bugfix), > 2. Moves the platform device creation out of rtc-ppc and into arch-specific > code (which is also a bugfix), > 3. Consolidates rtc-parisc and rtc-ppc into rtc-generic (which is a cleanup), > 4. Makes rtc-generic dependent on PARISC, PPC, and M68K (the existing > [sg]et_rtc_time() users): > a. without introducing ARCH_HAS_GENERIC_RTC, > b. with a big fat warning in the Kconfig comment not relaxing the > dependencies, as it's supposed to go away. > 4. Converts the PS3 RTC support into a separate driver, called rtc-ps3 > (as a bonus ;-) > > ? If yes, I'll cook it up. > > Other RTC platform support can be converted into separate drivers later. Seems reasonable. But please add a list of users of rtc-generic and information about their respective rtc hardware along with some general planning about which future driver would cover which users. And let's hope this is a beginning :) -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it