Просмотр исходного кода

i2c: Deprecate legacy RTC drivers

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: Will soon be replaced with Scott Wood's rtc-ds1374 driver.
* m41t00: The M41T00 is supported by the rtc-ds1307 driver. For the
  M41T81 and M41T85, the rtc-m41t80 driver written by Atsushi Nemoto
  should work.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Acked-by: Mark A. Greer <mgreer@mvista.com>
Acked-by: James Chapman <jchapman@katalix.com>
Cc: Randy Vinson <rvinson@mvista.com>
Jean Delvare 18 лет назад
Родитель
Сommit
ba7fbb723f
2 измененных файлов с 19 добавлено и 3 удалено
  1. 7 0
      Documentation/feature-removal-schedule.txt
  2. 12 3
      drivers/i2c/chips/Kconfig

+ 7 - 0
Documentation/feature-removal-schedule.txt

@@ -330,3 +330,10 @@ Who:  Tejun Heo <htejun@gmail.com>
 
 
 ---------------------------
 ---------------------------
 
 
+What:	Legacy RTC drivers (under drivers/i2c/chips)
+When:	November 2007
+Why:	Obsolete. We have a RTC subsystem with better drivers.
+Who:	Jean Delvare <khali@linux-fr.org>
+
+---------------------------
+

+ 12 - 3
drivers/i2c/chips/Kconfig

@@ -5,7 +5,7 @@
 menu "Miscellaneous I2C Chip support"
 menu "Miscellaneous I2C Chip support"
 
 
 config SENSORS_DS1337
 config SENSORS_DS1337
-	tristate "Dallas Semiconductor DS1337 and DS1339 Real Time Clock"
+	tristate "Dallas DS1337 and DS1339 Real Time Clock (DEPRECATED)"
 	depends on EXPERIMENTAL
 	depends on EXPERIMENTAL
 	help
 	help
 	  If you say yes here you get support for Dallas Semiconductor
 	  If you say yes here you get support for Dallas Semiconductor
@@ -14,8 +14,11 @@ config SENSORS_DS1337
 	  This driver can also be built as a module.  If so, the module
 	  This driver can also be built as a module.  If so, the module
 	  will be called ds1337.
 	  will be called ds1337.
 
 
+	  This driver is deprecated and will be dropped soon. Use
+	  rtc-ds1307 instead.
+
 config SENSORS_DS1374
 config SENSORS_DS1374
-	tristate "Maxim/Dallas Semiconductor DS1374 Real Time Clock"
+	tristate "Dallas DS1374 Real Time Clock (DEPRECATED)"
 	depends on EXPERIMENTAL
 	depends on EXPERIMENTAL
 	help
 	help
 	  If you say yes here you get support for Dallas Semiconductor
 	  If you say yes here you get support for Dallas Semiconductor
@@ -24,6 +27,9 @@ config SENSORS_DS1374
 	  This driver can also be built as a module.  If so, the module
 	  This driver can also be built as a module.  If so, the module
 	  will be called ds1374.
 	  will be called ds1374.
 
 
+	  This driver is deprecated and will be dropped soon. Use
+	  rtc-ds1374 instead.
+
 config SENSORS_EEPROM
 config SENSORS_EEPROM
 	tristate "EEPROM reader"
 	tristate "EEPROM reader"
 	depends on EXPERIMENTAL
 	depends on EXPERIMENTAL
@@ -101,7 +107,7 @@ config TPS65010
 	  will be called tps65010.
 	  will be called tps65010.
 
 
 config SENSORS_M41T00
 config SENSORS_M41T00
-	tristate "ST M41T00 RTC chip"
+	tristate "ST M41T00 RTC chip (DEPRECATED)"
 	depends on PPC32
 	depends on PPC32
 	help
 	help
 	  If you say yes here you get support for the ST M41T00 RTC chip.
 	  If you say yes here you get support for the ST M41T00 RTC chip.
@@ -109,6 +115,9 @@ config SENSORS_M41T00
 	  This driver can also be built as a module.  If so, the module
 	  This driver can also be built as a module.  If so, the module
 	  will be called m41t00.
 	  will be called m41t00.
 
 
+	  This driver is deprecated and will be dropped soon. Use
+	  rtc-ds1307 or rtc-m41t80 instead.
+
 config SENSORS_MAX6875
 config SENSORS_MAX6875
 	tristate "Maxim MAX6875 Power supply supervisor"
 	tristate "Maxim MAX6875 Power supply supervisor"
 	depends on EXPERIMENTAL
 	depends on EXPERIMENTAL