diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2011-03-09 11:56:30 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-03-12 03:26:34 -0500 |
commit | 0b7bb77fd55903ff9dc7c0474c49002aa6b9c78c (patch) | |
tree | d6f20011adc132700bc3e98d8686cbe838d7c86d /drivers/gpio/Kconfig | |
parent | 9c3c8afccb6a163fd2be739f511e863eab668702 (diff) |
gpio/mcp23s08: support mcp23s17 variant
mpc23s17 is very similar to the mcp23s08, except that registers are 16bit
wide, so extend the interface to work with both variants.
The s17 variant also has an additional address pin, so adjust platform
data structure to support up to 8 devices per SPI chipselect.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 664660e56335..9573b330f647 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -368,11 +368,11 @@ config GPIO_MAX7301 | |||
368 | GPIO driver for Maxim MAX7301 SPI-based GPIO expander. | 368 | GPIO driver for Maxim MAX7301 SPI-based GPIO expander. |
369 | 369 | ||
370 | config GPIO_MCP23S08 | 370 | config GPIO_MCP23S08 |
371 | tristate "Microchip MCP23S08 I/O expander" | 371 | tristate "Microchip MCP23Sxx I/O expander" |
372 | depends on SPI_MASTER | 372 | depends on SPI_MASTER |
373 | help | 373 | help |
374 | SPI driver for Microchip MCP23S08 I/O expander. This provides | 374 | SPI driver for Microchip MCP23S08/MPC23S17 I/O expanders. |
375 | a GPIO interface supporting inputs and outputs. | 375 | This provides a GPIO interface supporting inputs and outputs. |
376 | 376 | ||
377 | config GPIO_MC33880 | 377 | config GPIO_MC33880 |
378 | tristate "Freescale MC33880 high-side/low-side switch" | 378 | tristate "Freescale MC33880 high-side/low-side switch" |