diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-02-04 22:28:25 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 09:44:13 -0800 |
commit | e58b9e2762a6ef99e20dba47aba21b911658541d (patch) | |
tree | 0097fbe262bb4d1944bfb3c9a922ec36b90851c5 /drivers/gpio/Kconfig | |
parent | 15fae37d9f5f21571a9618d8353164b6ddfea6f6 (diff) | |
download | blackbird-op-linux-e58b9e2762a6ef99e20dba47aba21b911658541d.tar.gz blackbird-op-linux-e58b9e2762a6ef99e20dba47aba21b911658541d.zip |
mcp23s08 spi gpio expander support
Basic driver for 8-bit SPI based MCP23S08 GPIO expander, without support for
IRQs or the shared chipselect mechanism.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Eric Miao <eric.miao@marvell.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Philipp Zabel <philipp.zabel@gmail.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Ben Gardner <bgardner@wabtec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 36d5d6aefc0e..d924a32c089a 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -52,4 +52,11 @@ config GPIO_PCF857X comment "SPI GPIO expanders:" +config GPIO_MCP23S08 + tristate "Microchip MCP23S08 I/O expander" + depends on SPI_MASTER + help + SPI driver for Microchip MCP23S08 I/O expander. This provides + a GPIO interface supporting inputs and outputs. + endmenu |