Commit 8a56ce10 authored by David Brownell's avatar David Brownell Committed by Jean Delvare

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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 47a9b137
...@@ -26,8 +26,8 @@ config SENSORS_EEPROM ...@@ -26,8 +26,8 @@ config SENSORS_EEPROM
will be called eeprom. will be called eeprom.
config SENSORS_PCF8574 config SENSORS_PCF8574
tristate "Philips PCF8574 and PCF8574A" tristate "Philips PCF8574 and PCF8574A (DEPRECATED)"
depends on EXPERIMENTAL depends on EXPERIMENTAL && GPIO_PCF857X = "n"
default n default n
help help
If you say yes here you get support for Philips PCF8574 and If you say yes here you get support for Philips PCF8574 and
...@@ -36,12 +36,16 @@ config SENSORS_PCF8574 ...@@ -36,12 +36,16 @@ config SENSORS_PCF8574
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 pcf8574. will be called pcf8574.
This driver is deprecated and will be dropped soon. Use
drivers/gpio/pcf857x.c instead.
These devices are hard to detect and rarely found on mainstream These devices are hard to detect and rarely found on mainstream
hardware. If unsure, say N. hardware. If unsure, say N.
config PCF8575 config PCF8575
tristate "Philips PCF8575" tristate "Philips PCF8575 (DEPRECATED)"
default n default n
depends on GPIO_PCF857X = "n"
help help
If you say yes here you get support for Philips PCF8575 chip. If you say yes here you get support for Philips PCF8575 chip.
This chip is a 16-bit I/O expander for the I2C bus. Several other This chip is a 16-bit I/O expander for the I2C bus. Several other
...@@ -50,12 +54,15 @@ config PCF8575 ...@@ -50,12 +54,15 @@ config PCF8575
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 pcf8575. will be called pcf8575.
This driver is deprecated and will be dropped soon. Use
drivers/gpio/pcf857x.c instead.
This device is hard to detect and is rarely found on mainstream This device is hard to detect and is rarely found on mainstream
hardware. If unsure, say N. hardware. If unsure, say N.
config SENSORS_PCA9539 config SENSORS_PCA9539
tristate "Philips PCA9539 16-bit I/O port (DEPRECATED)" tristate "Philips PCA9539 16-bit I/O port (DEPRECATED)"
depends on EXPERIMENTAL && GPIO_PCA9539 = "n" depends on EXPERIMENTAL && GPIO_PCA953X = "n"
help help
If you say yes here you get support for the Philips PCA9539 If you say yes here you get support for the Philips PCA9539
16-bit I/O port. 16-bit I/O port.
...@@ -64,7 +71,7 @@ config SENSORS_PCA9539 ...@@ -64,7 +71,7 @@ config SENSORS_PCA9539
will be called pca9539. will be called pca9539.
This driver is deprecated and will be dropped soon. Use This driver is deprecated and will be dropped soon. Use
drivers/gpio/pca9539.c instead. drivers/gpio/pca953x.c instead.
config SENSORS_PCF8591 config SENSORS_PCF8591
tristate "Philips PCF8591" tristate "Philips PCF8591"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment