]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita7ceed925a9bc2fa8ea88c6dab564558d5aff741
tree7e3cc012c12ff689194333b2ac9988be16df9c55
parent20f46f680e63dc5b064113d9a9e901e4e63e8dd6
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