diff options
author | Juergen Beisert <j.beisert@pengutronix.de> | 2008-07-21 17:21:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-22 12:59:40 -0400 |
commit | 0c36ec31473593aa937ff04f3b3b630e81512734 (patch) | |
tree | 28afc1e7d6e0cf31f1ab2978a121e5f8cf504cc9 /drivers/gpio/Kconfig | |
parent | 651910874633a75f4a726d44e449be0a56b4b2e0 (diff) |
gpio: gpio driver for max7301 SPI GPIO expander
Maxim's MAX7301 is an SPI GPIO expander with 28 GPIOs. Note: MAX7301's
interrupt feature is not supported yet.
[akpm@linux-foundation.org: coding-style fixes]
[g.liakhovetski@pengutronix.de: Fix inaccuracies in comments, check spi_setup()
return code, mask off high byte in max7301_read()]
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 008c38ba774f..9e0c4fbfc51a 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -69,6 +69,12 @@ config GPIO_PCF857X | |||
69 | 69 | ||
70 | comment "SPI GPIO expanders:" | 70 | comment "SPI GPIO expanders:" |
71 | 71 | ||
72 | config GPIO_MAX7301 | ||
73 | tristate "Maxim MAX7301 GPIO expander" | ||
74 | depends on SPI_MASTER | ||
75 | help | ||
76 | gpio driver for Maxim MAX7301 SPI GPIO expander. | ||
77 | |||
72 | config GPIO_MCP23S08 | 78 | config GPIO_MCP23S08 |
73 | tristate "Microchip MCP23S08 I/O expander" | 79 | tristate "Microchip MCP23S08 I/O expander" |
74 | depends on SPI_MASTER | 80 | depends on SPI_MASTER |