diff options
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 560687c4667e..36d5d6aefc0e 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -27,6 +27,29 @@ config DEBUG_GPIO | |||
27 | 27 | ||
28 | comment "I2C GPIO expanders:" | 28 | comment "I2C GPIO expanders:" |
29 | 29 | ||
30 | config GPIO_PCF857X | ||
31 | tristate "PCF857x, PCA857x, and PCA967x I2C GPIO expanders" | ||
32 | depends on I2C | ||
33 | help | ||
34 | Say yes here to provide access to most "quasi-bidirectional" I2C | ||
35 | GPIO expanders used for additional digital outputs or inputs. | ||
36 | Most of these parts are from NXP, though TI is a second source for | ||
37 | some of them. Compatible models include: | ||
38 | |||
39 | 8 bits: pcf8574, pcf8574a, pca8574, pca8574a, | ||
40 | pca9670, pca9672, pca9674, pca9674a | ||
41 | |||
42 | 16 bits: pcf8575, pcf8575c, pca8575, | ||
43 | pca9671, pca9673, pca9675 | ||
44 | |||
45 | Your board setup code will need to declare the expanders in | ||
46 | use, and assign numbers to the GPIOs they expose. Those GPIOs | ||
47 | can then be used from drivers and other kernel code, just like | ||
48 | other GPIOs, but only accessible from task contexts. | ||
49 | |||
50 | This driver provides an in-kernel interface to those GPIOs using | ||
51 | platform-neutral GPIO calls. | ||
52 | |||
30 | comment "SPI GPIO expanders:" | 53 | comment "SPI GPIO expanders:" |
31 | 54 | ||
32 | endmenu | 55 | endmenu |