Commit 269a46f8 authored by Linus Walleij's avatar Linus Walleij

gpio: drop surplus I2C dependencies

The I2C expander menu already depends on I2C, drop subdependecies
on individual drivers. Keep the instances of depends on I2C=y
though, so these are still restricted to the compiled-in case.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 7768feb0
...@@ -565,7 +565,6 @@ menu "I2C GPIO expanders" ...@@ -565,7 +565,6 @@ menu "I2C GPIO expanders"
config GPIO_ADP5588 config GPIO_ADP5588
tristate "ADP5588 I2C GPIO expander" tristate "ADP5588 I2C GPIO expander"
depends on I2C
help help
This option enables support for 18 GPIOs found This option enables support for 18 GPIOs found
on Analog Devices ADP5588 GPIO Expanders. on Analog Devices ADP5588 GPIO Expanders.
...@@ -579,7 +578,7 @@ config GPIO_ADP5588_IRQ ...@@ -579,7 +578,7 @@ config GPIO_ADP5588_IRQ
config GPIO_ADNP config GPIO_ADNP
tristate "Avionic Design N-bit GPIO expander" tristate "Avionic Design N-bit GPIO expander"
depends on I2C && OF_GPIO depends on OF_GPIO
select GPIOLIB_IRQCHIP select GPIOLIB_IRQCHIP
help help
This option enables support for N GPIOs found on Avionic Design This option enables support for N GPIOs found on Avionic Design
...@@ -591,14 +590,12 @@ config GPIO_ADNP ...@@ -591,14 +590,12 @@ config GPIO_ADNP
config GPIO_MAX7300 config GPIO_MAX7300
tristate "Maxim MAX7300 GPIO expander" tristate "Maxim MAX7300 GPIO expander"
depends on I2C
select GPIO_MAX730X select GPIO_MAX730X
help help
GPIO driver for Maxim MAX7300 I2C-based GPIO expander. GPIO driver for Maxim MAX7300 I2C-based GPIO expander.
config GPIO_MAX732X config GPIO_MAX732X
tristate "MAX7319, MAX7320-7327 I2C Port Expanders" tristate "MAX7319, MAX7320-7327 I2C Port Expanders"
depends on I2C
help help
Say yes here to support the MAX7319, MAX7320-7327 series of I2C Say yes here to support the MAX7319, MAX7320-7327 series of I2C
Port Expanders. Each IO port on these chips has a fixed role of Port Expanders. Each IO port on these chips has a fixed role of
...@@ -631,7 +628,6 @@ config GPIO_MC9S08DZ60 ...@@ -631,7 +628,6 @@ config GPIO_MC9S08DZ60
config GPIO_PCA953X config GPIO_PCA953X
tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports" tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports"
depends on I2C
help help
Say yes here to provide access to several register-oriented Say yes here to provide access to several register-oriented
SMBus I/O expanders, made mostly by NXP or TI. Compatible SMBus I/O expanders, made mostly by NXP or TI. Compatible
...@@ -659,7 +655,6 @@ config GPIO_PCA953X_IRQ ...@@ -659,7 +655,6 @@ config GPIO_PCA953X_IRQ
config GPIO_PCF857X config GPIO_PCF857X
tristate "PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders" tristate "PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders"
depends on I2C
select GPIOLIB_IRQCHIP select GPIOLIB_IRQCHIP
select IRQ_DOMAIN select IRQ_DOMAIN
help help
......
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