[i2c] [PATCH] i2c: Deprecate legacy RTC drivers
Jean Delvare
khali at linux-fr.org
Mon May 14 20:28:18 CEST 2007
On Mon, 14 May 2007 09:47:45 -0700, David Brownell wrote:
> On Monday 14 May 2007, James Chapman wrote:
> > Hi Dave,
> >
> > I've already acked Jean's patch.
>
> That's a start. We also want to move away from legacy I2C drivers too...
These are two different, unrelated things. Both need to be done, but
the order doesn't matter.
> > I'm waiting for the board vendor to test a ppc7d patch that removes the
> > use of the rtc hooks and switches over to rtc-ds1307 as you describe.
> > I'll submit it to the ppc maintainers once the board vendor has verified it.
>
> Appended is the patch I had in mind ... in conjunction with patches to
> convert rtc-ds1307 to a new-style I2C driver (which I've just sent,
> and CC'd you on), and defconfig updates.
>
> - Dave
>
>
> ===== CUT HERE
> Non-Kconfig parts of moving the Radstone PPC7D platform from the old
> ds1337 driver over to the new RTC framework and rtc-ds1307.c driver.
> Kconfig needs to select RTC_DS1307 and RTC_HCTOSYS.
>
> This is a prerequisite to removing the legacy i2c-ds1337.c driver,
The legacy driver is actually named ds1337.c (no i2c- prefix).
> then switching rtc-ds1307.c to be a new-style driver.
>
> EXPERIMENTAL, UNTESTED.
Thanks,
--
Jean Delvare
More information about the i2c
mailing list