spi: pxa2xx_spi: introduce chipselect GPIO to simplify the common cases
authorEric Miao <eric.miao@marvell.com>
Tue, 7 Apr 2009 02:00:54 +0000 (19:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2009 15:31:07 +0000 (08:31 -0700)
commita7bb3909b3293d503211d7f6af8ed62c1644b686
tree7e3cc012c12ff689194333b2ac9988be16df9c55
parentc8fc657e6a114fadf78fdf8103e289a169c91c5d
spi: pxa2xx_spi: introduce chipselect GPIO to simplify the common cases

Most SPI peripherals use GPIOs as their chip selects, introduce .gpio_cs
for this.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/mach-pxa/include/mach/pxa2xx_spi.h
drivers/spi/pxa2xx_spi.c