aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2008-07-14 16:38:31 -0400
committerJean Delvare <khali@mahadeva.delvare>2008-07-14 16:38:31 -0400
commit8a56ce1033073657572bd993595a56498baa4800 (patch)
treeb435717df7fa32e063d437dfd2c0fe8159657ff6 /drivers/i2c
parent47a9b1379a5ebc8b00ba8635d1d3885fc0d51739 (diff)
i2c: Deprecate the legacy gpio drivers
The legacy pcf8574 and pcf8575 drivers should be avoided on systems using the new gpiolib code, and generally deprecated in the same way the legacy pca9539 driver is deprecated. Also, correct the pca9539 deprecation to match the current name of the preferred driver: pca953x, supporting several more chips. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/chips/Kconfig17
1 files changed, 12 insertions, 5 deletions
diff --git a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig
index 2da2edfa68ec..6326468d5f0b 100644
--- a/drivers/i2c/chips/Kconfig
+++ b/drivers/i2c/chips/Kconfig
@@ -26,8 +26,8 @@ config SENSORS_EEPROM
26 will be called eeprom. 26 will be called eeprom.
27 27
28config SENSORS_PCF8574 28config SENSORS_PCF8574
29 tristate "Philips PCF8574 and PCF8574A" 29 tristate "Philips PCF8574 and PCF8574A (DEPRECATED)"
30 depends on EXPERIMENTAL 30 depends on EXPERIMENTAL && GPIO_PCF857X = "n"
31 default n 31 default n
32 help 32 help
33 If you say yes here you get support for Philips PCF8574 and 33 If you say yes here you get support for Philips PCF8574 and
@@ -36,12 +36,16 @@ config SENSORS_PCF8574
36 This driver can also be built as a module. If so, the module 36 This driver can also be built as a module. If so, the module
37 will be called pcf8574. 37 will be called pcf8574.
38 38
39 This driver is deprecated and will be dropped soon. Use
40 drivers/gpio/pcf857x.c instead.
41
39 These devices are hard to detect and rarely found on mainstream 42 These devices are hard to detect and rarely found on mainstream
40 hardware. If unsure, say N. 43 hardware. If unsure, say N.
41 44
42config PCF8575 45config PCF8575
43 tristate "Philips PCF8575" 46 tristate "Philips PCF8575 (DEPRECATED)"
44 default n 47 default n
48 depends on GPIO_PCF857X = "n"
45 help 49 help
46 If you say yes here you get support for Philips PCF8575 chip. 50 If you say yes here you get support for Philips PCF8575 chip.
47 This chip is a 16-bit I/O expander for the I2C bus. Several other 51 This chip is a 16-bit I/O expander for the I2C bus. Several other
@@ -50,12 +54,15 @@ config PCF8575
50 This driver can also be built as a module. If so, the module 54 This driver can also be built as a module. If so, the module
51 will be called pcf8575. 55 will be called pcf8575.
52 56
57 This driver is deprecated and will be dropped soon. Use
58 drivers/gpio/pcf857x.c instead.
59
53 This device is hard to detect and is rarely found on mainstream 60 This device is hard to detect and is rarely found on mainstream
54 hardware. If unsure, say N. 61 hardware. If unsure, say N.
55 62
56config SENSORS_PCA9539 63config SENSORS_PCA9539
57 tristate "Philips PCA9539 16-bit I/O port (DEPRECATED)" 64 tristate "Philips PCA9539 16-bit I/O port (DEPRECATED)"
58 depends on EXPERIMENTAL && GPIO_PCA9539 = "n" 65 depends on EXPERIMENTAL && GPIO_PCA953X = "n"
59 help 66 help
60 If you say yes here you get support for the Philips PCA9539 67 If you say yes here you get support for the Philips PCA9539
61 16-bit I/O port. 68 16-bit I/O port.
@@ -64,7 +71,7 @@ config SENSORS_PCA9539
64 will be called pca9539. 71 will be called pca9539.
65 72
66 This driver is deprecated and will be dropped soon. Use 73 This driver is deprecated and will be dropped soon. Use
67 drivers/gpio/pca9539.c instead. 74 drivers/gpio/pca953x.c instead.
68 75
69config SENSORS_PCF8591 76config SENSORS_PCF8591
70 tristate "Philips PCF8591" 77 tristate "Philips PCF8591"