gpio: add driver for MAX7300 I2C GPIO extender
authorWolfram Sang <w.sang@pengutronix.de>
Fri, 5 Mar 2010 21:44:33 +0000 (13:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:48 +0000 (11:26 -0800)
commite952805d2d2e706aed182723e5ab3ec0b1f91de3
tree5b4f9bfff6798f44fdea7c891ee911af2df5357b
parent5a98c04d78c896d52baef20ffc11f6d1ba6eb786
gpio: add driver for MAX7300 I2C GPIO extender

Add the MAX7300-I2C variant of the MAX7301-SPI version.  Both chips share
the same core logic, so the generic part of the in-kernel SPI-driver is
refactored into a generic part.  The I2C and SPI specific funtions are
then wrapped into seperate drivers picking up the generic part.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Juergen Beisert <j.beisert@pengutronix.de>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/max7300.c [new file with mode: 0644]
drivers/gpio/max7301.c
drivers/gpio/max730x.c [new file with mode: 0644]
include/linux/spi/max7301.h