1
0
Fork 0
alistair23-linux/include/asm-arm/arch-imx
Andrea Paterniani 69c202afa8 [PATCH] SPI: Freescale iMX SPI controller driver (BIS+)
Add the SPI controller driver for Freescale i.MX(S/L/1).
Main features summary:

 > Per chip setup via board specific code and/or protocol driver.
 > Per transfer setup.
 > PIO transfers.
 > DMA transfers.
 > Managing of NULL tx / rx buffer for rd only / wr only transfers.

This patch replace patch-2.6.20-rc4-spi_imx with the following changes:
 > Few cosmetic changes.
 > Function map_dma_buffers now return 0 for success and -1 for failure.
 > Solved a bug inside spi_imx_probe function (wrong error path).
 > Solved a bug inside setup function (bad undo setup for max_speed_hz).
 > For read-only transfers, always write zero bytes.

This is almost the same as the 'BIS' version sent by Andrea, except for
updating the 'DUMMY' byte so that read-only transfers shift out zeroes.
That part of the API changed recently, since some half duplex peripheral
chips require that semantic.

Signed-off-by: Andrea Paterniani <a.paterniani@swapp-eng.it>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-12 09:48:30 -08:00
..
debug-macro.S [ARM] 3501/1: i.MX: fix lowlevel debug macros 2006-05-07 18:56:27 +01:00
dma.h [ARM] 3444/1: i.MX: Scatter-gather DMA emulation for i.MX/MX1 2006-04-02 16:58:37 +01:00
entry-macro.S [ARM] Cleanup ARM includes 2006-01-03 17:39:34 +00:00
hardware.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
imx-dma.h Initial blind fixup for arm for irq changes 2006-10-06 10:59:54 -07:00
imx-regs.h [ARM] 3992/1: i.MX/MX1 CPU Frequency scaling support 2006-12-13 18:36:02 +00:00
imx-uart.h [ARM] 3490/1: i.MX: move uart resources to board files 2006-05-04 14:07:42 +01:00
imxfb.h [PATCH] ARM: 2687/1: i.MX framebuffer: make dmacr register platform configurable 2005-07-17 20:15:36 +01:00
io.h [ARM] 1/4: Move include of asm/hardware.h to asm-arm/arch-*/io.h 2005-10-28 10:20:25 +01:00
irqs.h [ARM] Include asm/hardware.h instead of asm/arch/hardware.h 2005-11-16 14:51:20 +00:00
memory.h [ARM] 3660/1: Remove legacy defines 2006-06-28 17:54:55 +01:00
mmc.h [ARM] 3457/1: i.MX: SD/MMC support for i.MX/MX1 2006-04-02 19:27:07 +01:00
mx1ads.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
spi_imx.h [PATCH] SPI: Freescale iMX SPI controller driver (BIS+) 2007-02-12 09:48:30 -08:00
system.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
timex.h [ARM] 3991/1: i.MX/MX1 high resolution time source 2006-12-07 16:24:16 +00:00
uncompress.h [ARM] Fix decompressor serial IO to give CRLF not LFCR 2006-03-28 10:24:33 +01:00
vmalloc.h [PATCH] ARM: cleanup vmalloc start/offset macros 2005-05-03 12:20:29 +01:00