[i2c] [PATCH] i2c: Deprecate legacy RTC drivers
James Chapman
jchapman at katalix.com
Fri May 11 19:05:08 CEST 2007
Alessandro Zummo wrote:
> On Fri, 11 May 2007 17:22:52 +0100
> James Chapman <jchapman at katalix.com> wrote:
>
>> Perhaps the radstone_ppc7d platform code should use rtc_read_time() and
>> rtc_set_time() instead? Is it possible for platform code to obtain the
>> rtc's struct class_device which are needed by those calls?
>>
> rtc_class_open/close can be used to obtain the class_device .
> see drivers/rtc/hctosys.c for details.
Thanks. I'll prepare a patch to update the radstone_ppc7d code.
On Fri, May 11, 2007 at 09:43:26AM +0200, Jean Delvare wrote:
> > We have a new RTC subsystem with better drivers.
> >
> > Legacy driver status:
> > * ds1337: The DS1337 and DS1339 are now supported by the rtc-ds1307
> > driver, so it looks to me like we could even delete the ds1337
> > driver right away.
> > * ds1374: No support in the RTC subsystem as far as I can see. If
> > DS1374 support is still needed, this driver needs to be ported to
> > the RTC subsystem.
> > * m41t00: The M41T00 itself appears to be supported bythe rtc-ds1307
> > driver, however the old driver also supports the M41T81 & M41T85,
> > while the new driver seemingly doesn't. So I guess the rtc-ds1307
> > driver needs to be extended before we can remove the m41t00
> > driver.
> >
> > Signed-off-by: Jean Delvare <khali at linux-fr.org>
> > Cc: Alessandro Zummo <a.zummo at towertech.it>
> > Cc: Mark A. Greer <mgreer at mvista.com>
> > Cc: James Chapman <jchapman at katalix.com>
> > Cc: Randy Vinson <rvinson at mvista.com>
Acked-by: James Chapman <jchapman at katalix.com>
--
James Chapman
Katalix Systems Ltd
http://www.katalix.com
Catalysts for your Embedded Linux software development
More information about the i2c
mailing list