linux/include/asm-arm/arch-pxa
Stephen Street 8d94cc50aa [PATCH] spi: stabilize PIO mode transfers on PXA2xx systems
Stabilize PIO mode transfers against a range of word sizes and FIFO
thresholds and fixes word size setup/override issues.

1) 16 and 32 bit DMA/PIO transfers broken due to timing differences.
2) Potential for bad transfer counts due to transfer size assumptions.
3) Setup function broken is multiple ways.
4) Per transfer bit_per_word changes break DMA setup in pump_tranfers.
5) False positive timeout are not errors.
6) Changes in pxa2xx_spi_chip not effective in calls to setup.
7) Timeout scaling wrong for PXA255 NSSP.
8) Driver leaks memory while busy during unloading.

Known issues:

SPI_CS_HIGH and SPI_LSB_FIRST settings in struct spi_device are not handled.

Testing:

This patch has been test against the "random length, random bits/word,
random data (verified on loopback) and stepped baud rate by octaves
(3.6MHz to 115kHz)" test.  It is robust in PIO mode, using any
combination of tx and rx thresholds, and also in DMA mode (which
internally computes the thresholds).

Much thanks to Ned Forrester for exhaustive reviews, fixes and testing.
The driver is substantially better for his efforts.

Signed-off-by: Stephen Street <stephen@streetfiresound.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-10 09:55:40 -08:00
..
akita.h
audio.h
bitfield.h
corgi.h
debug-macro.S
dma.h Initial blind fixup for arm for irq changes 2006-10-06 10:59:54 -07:00
entry-macro.S
hardware.h
i2c.h
idp.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
io.h [ARM] 3631/1: Remove legacy __mem_isa() definitions 2006-06-24 10:34:48 +01:00
irda.h
irqs.h [ARM] 3902/1: Enable GPIO81-84 on PXA255 2006-10-24 22:02:48 +01:00
lpd270.h [ARM] 3417/1: add support for logicpd pxa270 card engine 2006-03-28 21:08:13 +01:00
lubbock.h
mainstone.h
memory.h [ARM] Clean up discontigmem support 2006-11-30 22:52:28 +00:00
mmc.h IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
mtd-xip.h
ohci.h [ARM] 3547/1: PXA-OHCI: Allow platforms to specify a power budget 2006-06-08 22:44:07 +01:00
pm.h
poodle.h [ARM] 3594/1: Poodle: Add touchscreen support + other updates 2006-06-19 20:46:05 +01:00
pxa-regs.h [ARM] 3894/1: pxa27x: Update DCSR_EORINTR bit definition in DCSR 2006-11-30 12:24:47 +00:00
pxa2xx_spi.h [PATCH] spi: stabilize PIO mode transfers on PXA2xx systems 2006-12-10 09:55:40 -08:00
pxafb.h [ARM] 3848/1: pxafb: Add option of fixing video modes and spitz QVGA mode support 2006-10-02 13:33:37 +01:00
sharpsl.h [PATCH] backlight: corgi_bl: Generalise to support other Sharp SL hardware 2006-03-31 12:19:00 -08:00
spitz.h [ARM] 3848/1: pxafb: Add option of fixing video modes and spitz QVGA mode support 2006-10-02 13:33:37 +01:00
ssp.h [ARM] 3760/1: This patch adds timeouts while working with SSP registers. Such timeouts were en 2006-08-27 12:54:56 +01:00
system.h [ARM] 3593/1: Add reboot and shutdown handlers for Zaurus handhelds 2006-06-19 19:57:12 +01:00
timex.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
tosa.h
trizeps4.h [ARM] 3666/1: TRIZEPS4 [1/5] core 2006-06-29 16:25:37 +01:00
udc.h [ARM] 3943/1: share declaration of struct pxa2xx_udc_mach_info between multiple platforms 2006-11-29 20:23:07 +00:00
uncompress.h [ARM] Fix decompressor serial IO to give CRLF not LFCR 2006-03-28 10:24:33 +01:00
vmalloc.h