linux/drivers/spi
Wolfgang Muees 93b61bddc1 Blackfin SPI Driver: Make mmc_spi driver work on Blackfin
1. Rewrite of the non-dma data transfer functions to use only ONE mode
   of TIMOD (TIMOD=0x1).  With TIMOD=0, it was not possible to set the TX
   bit pattern.  So the TDBR = 0xFFFF inside the read calls won't work.

2. Clear SPI_RDBR before reading and before duplex transfer.
   Otherwise the garbage data in RDBR will get read.  Since mmc_spi uses a
   lot of duplex transfers, this is the main cause of mmc_spi failure.

3. Poll RXS for transfer completion.  Polling SPIF or TXS cannot
   guarantee transfer completion.  This may interrupt a transfer before it
   is finished.  Also this may leave garbage data in buffer and affect
   next transfer.

[Yi Li <yi.li@analog.com>: add a field "u16 idle_tx_val" in "struct
bfin5xx_spi_chip" to specify the value to transmit if no TX value
is supplied.]
Signed-off-by: Wolfgang Muees <wolfgang.mues@auerswald.de>
Signed-off-by: Yi Li <yi.li@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
..
atmel_spi.c
atmel_spi.h
au1550_spi.c
Kconfig
Makefile
mpc52xx_psc_spi.c
omap2_mcspi.c
omap_uwire.c
orion_spi.c
pxa2xx_spi.c
spi_bfin5xx.c Blackfin SPI Driver: Make mmc_spi driver work on Blackfin 2009-04-07 08:31:06 -07:00
spi_bitbang.c
spi_butterfly.c
spi_gpio.c spi-gpio: allow operation without CS signal 2009-04-02 19:04:51 -07:00
spi_imx.c
spi_lm70llp.c
spi_mpc83xx.c spi_mpc83xx: add OF platform driver bindings 2009-04-01 08:59:22 -07:00
spi_s3c24xx_gpio.c
spi_s3c24xx.c
spi_sh_sci.c spi: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
spi_txx9.c
spi.c
spidev.c
tle62x0.c
xilinx_spi.c