linux/arch
Michael Hennerich 42c78b2bf5 Blackfin SPI Driver: Add GPIO controlled SPI Slave Select support
Add support for GPIO controlled SPI Chip Selects.  To make use of this
feature, set chip_select = 0 and add a proper cs_gpio to your
controller_data.

struct spi_board_info
        .chip_select = 0

struct bfin5xx_spi_chip
        .cs_gpio = GPIO_P###

There are various SPI devices that require SPI MODE_0, and need to have
the Chip Selects asserted during the entire transfer.  Consider using
SPI_MODE_3 (SPI_CPHA | SPI_CPOL) if your device allows it.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-07 08:31:06 -07:00
..
alpha
arm Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2009-04-06 18:11:41 -07:00
avr32
blackfin Blackfin SPI Driver: Add GPIO controlled SPI Slave Select support 2009-04-07 08:31:06 -07:00
cris
frv FRV: Fix compile breakage 2009-04-06 14:31:26 -07:00
h8300
ia64
m32r
m68k
m68knommu
mips Merge git://git.infradead.org/mtd-2.6 2009-04-06 14:56:26 -07:00
mn10300
parisc
powerpc Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2009-04-07 07:40:55 -07:00
s390
sh
sparc
um
x86 Merge git://git.infradead.org/iommu-2.6 2009-04-06 14:26:05 -07:00
xtensa
.gitignore
Kconfig