public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] gpio/mcp23s08: add support for i2c variants
@ 2011-07-14 19:59 Peter Korsgaard
  2011-07-14 19:59 ` [PATCH 1/3] mcp23s08: remove unused work queue Peter Korsgaard
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Peter Korsgaard @ 2011-07-14 19:59 UTC (permalink / raw)
  To: grant.likely, linux-kernel

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-07-15  7:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-14 19:59 [PATCH 0/3] gpio/mcp23s08: add support for i2c variants Peter Korsgaard
2011-07-14 19:59 ` [PATCH 1/3] mcp23s08: remove unused work queue Peter Korsgaard
2011-07-15  2:53   ` Grant Likely
2011-07-15  6:54     ` Peter Korsgaard
2011-07-14 19:59 ` [PATCH 2/3] mcp23s08: isolate spi specific parts Peter Korsgaard
2011-07-15  2:53   ` Grant Likely
2011-07-15  6:57     ` Peter Korsgaard
2011-07-14 19:59 ` [PATCH 3/3] mcp23s08: add i2c support Peter Korsgaard
2011-07-15  2:53   ` Grant Likely
2011-07-15  7:03     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox