gpio: gpio driver for max7301 SPI GPIO expander
authorJuergen Beisert <j.beisert@pengutronix.de>
Mon, 21 Jul 2008 21:21:34 +0000 (14:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Jul 2008 16:59:40 +0000 (09:59 -0700)
commit0c36ec31473593aa937ff04f3b3b630e81512734
tree28afc1e7d6e0cf31f1ab2978a121e5f8cf504cc9
parent651910874633a75f4a726d44e449be0a56b4b2e0
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>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/max7301.c [new file with mode: 0644]
include/linux/spi/max7301.h [new file with mode: 0644]