[PATCH 0/3] gpio/mcp23s08: add support for i2c variants

From: Peter Korsgaard
Date: Thu Jul 14 2011 - 15:59:53 EST


The Microchip mcp23xxx I/O expanders exists both in variants with SPI
(23S) and I2C (230) interfaces, with either 8 or 16 I/O pins.

Until now the mcp23s08 driver only worked with the SPI variant. Adjust
the driver to work with the I2C ones as well.

drivers/gpio/Kconfig | 7 +-
drivers/gpio/mcp23s08.c | 260 +++++++++++++++++++++++++++++++++++++-----
include/linux/spi/mcp23s08.h | 4 +-
3 files changed, 237 insertions(+), 34 deletions(-)

--
Bye, Peter Korsgaard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/