android_kernel_samsung_msm8976/drivers/spi
David Brownell 70d6027ff2 spi: add spi_master flag word
Add a new spi_master.flags word listing constraints relevant to that
controller.  Define the first constraint bit: a half duplex restriction.
Include that constraint in the OMAP1 MicroWire controller driver.

Have the mmc_spi host be the first customer of this flag.  Its coding
relies heavily on full duplex transfers, so it must fail when the
underlying controller driver won't perform them.

(The spi_write_then_read routine could use it too: use the
temporarily-withdrawn full-duplex speedup unless this flag is set, in
which case the existing code applies.  Similarly, any spi_master
implementing only SPI_3WIRE should set the flag.)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-30 18:56:00 -07:00
..
amba-pl022.c [ARM] 5546/1: ARM PL022 SSP/SPI driver v3 2009-06-10 22:39:52 +01:00
atmel_spi.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
atmel_spi.h
au1550_spi.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
Kconfig spi_mpc8xxx: s/83xx/8xxx/g 2009-06-19 16:46:05 -07:00
Makefile spi_mpc8xxx: s/83xx/8xxx/g 2009-06-19 16:46:05 -07:00
mpc52xx_psc_spi.c mpc52xx_psc_spi: convert to cs_control callback 2009-06-18 13:03:42 -07:00
omap2_mcspi.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
omap_uwire.c spi: add spi_master flag word 2009-06-30 18:56:00 -07:00
orion_spi.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
pxa2xx_spi.c pxa2xx_spi: fix for SPI_CS_HIGH 2009-06-18 13:03:42 -07:00
spi.c spi: fix spi_write_then_read() comment 2009-06-18 13:03:42 -07:00
spi_bfin5xx.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi_bitbang.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi_butterfly.c spi: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:37 -08:00
spi_gpio.c spi-gpio: allow operation without CS signal 2009-04-02 19:04:51 -07:00
spi_imx.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi_lm70llp.c hwmon: (lm70) Code streamlining and cleanup 2009-01-07 16:37:34 +01:00
spi_mpc8xxx.c spi_mpc8xxx: s/83xx/8xxx/g 2009-06-19 16:46:05 -07:00
spi_s3c24xx.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spi_s3c24xx_gpio.c [ARM] S3C24XX: GPIO: Move gpio functions out of <mach/hardware.h> 2009-05-18 16:25:40 +01:00
spi_sh_sci.c spi: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
spi_txx9.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00
spidev.c spi: new spi->mode bits 2009-06-30 18:56:00 -07:00
tle62x0.c tle62x0 driver stops ignoring read errors 2007-11-14 18:45:42 -08:00
xilinx_spi.c spi: move more spi_setup() functionality into core 2009-06-18 13:03:42 -07:00