]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: handle pca953{4,5,6,7,8} too
authorGuennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Wed, 6 Feb 2008 09:39:04 +0000 (01:39 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:15 +0000 (10:41 -0800)
commitb4fe2b5c7e70302bb73334874fc67a2ed83aa701
tree54c0212d51fb53fb1f301530649dfcd5247bd8b3
parent414afb84383066a238572542cbd4873b0a388402
gpio: handle pca953{4,5,6,7,8} too

This third part of an extension to support more pca953x chips updates the
logic to handle the smaller register widths used by the 4-bit and 8-bit parts,
and to use the chip type to determine how many GPIOs it provides.

As long as we don't support interrupt and reset capabilities, those size
issues are the only software-visible differences between these parts.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
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/pca953x.c