alistair23-linux/include/asm-arm/arch-pxa
Ned Forrester b97c74bddc spi: pxa2xx_spi clock polarity fix
Fixes a sequencing bug in spi driver pxa2xx_spi.c in which the chip select
for a transfer may be asserted before the clock polarity is set on the
interface.  As a result of this bug, the clock signal may have the wrong
polarity at transfer start, so it may need to make an extra half transition
before the intended clock/data signals begin.  (This probably means all
transfers are one bit out of sequence.)

This only occurs on the first transfer following a change in clock polarity
in systems using more than one more than one such polarity.  The fix
assures that the clock mode is properly set before asserting chip select.

This bug was introduced in a patch merged on 2006/12/10, kernel 2.6.20.
The patch defines an additional bit in: include/asm-arm/arch-pxa/regs-ssp.h
for 2.6.25 and newer kernels but this addition must be made in:
include/asm-arm/arch-pxa/pxa-regs.h for kernels between 2.6.20 and 2.6.24,
inclusive

Signed-off-by: Ned Forrester <nforrester@whoi.edu>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-23 17:12:14 -08:00
..
akita.h
audio.h [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
bitfield.h
cm-x270.h
colibri.h [ARM] 4762/1: Basic support for Toradex Colibri module 2008-01-28 13:13:27 +00:00
corgi.h [ARM] 4737/1: Refactor corgi_lcd to improve readability + bugfix 2008-01-28 13:13:25 +00:00
debug-macro.S
dma.h
entry-macro.S
gpio.h gpiolib support for the PXA architecture 2008-02-05 09:44:13 -08:00
hardware.h [ARM] pxa: silence warnings from cpu_is_xxx() macros 2008-01-10 12:33:54 +00:00
i2c.h i2c-pxa: Add polling transfer 2008-01-27 18:14:50 +01:00
idp.h
io.h
irda.h
irqs.h [ARM] 4744/1: pcm027: add support for phyCORE-PXA270 CPU module 2008-01-28 13:13:20 +00:00
littleton.h [ARM] pxa: add basic support for Littleton (PXA3xx Form Factor Platform) 2008-01-28 13:13:17 +00:00
lpd270.h
lubbock.h
magician.h [ARM] 4664/1: Add basic support for HTC Magician PDA phones 2008-01-28 13:13:16 +00:00
mainstone.h
memory.h
mfp-pxa3xx.h [ARM] pxa: make MFP configuration processor independent 2008-01-26 15:07:56 +00:00
mfp-pxa300.h [ARM] pxa: introduce a new file mfp-pxa3xx.h for common pin configurations 2008-01-26 15:07:56 +00:00
mfp-pxa320.h [ARM] pxa: introduce a new file mfp-pxa3xx.h for common pin configurations 2008-01-26 15:07:56 +00:00
mfp.h [ARM] pxa: make MFP configuration processor independent 2008-01-26 15:07:56 +00:00
mmc.h [ARM] pxa: mmc: add 3rd host controller support for pxa310 2008-01-26 15:07:53 +00:00
mtd-xip.h
ohci.h
pcm027.h [ARM] 4744/1: pcm027: add support for phyCORE-PXA270 CPU module 2008-01-28 13:13:20 +00:00
pcm990_baseboard.h [ARM] 4747/1: pcm027: support for pcm990 baseboard for phyCORE-PXA270 2008-01-28 13:13:24 +00:00
pm.h PM: Move definition of struct pm_ops to suspend.h 2007-10-18 14:37:18 -07:00
poodle.h
pxa-regs.h gpiolib support for the PXA architecture 2008-02-05 09:44:13 -08:00
pxa2xx-regs.h [ARM] pxa: move memory controller registers into pxa2xx-regs.h 2008-01-26 15:07:54 +00:00
pxa2xx_spi.h [ARM] pxa: make pxa2xx_spi driver use ssp_request()/ssp_free() 2008-01-26 15:07:52 +00:00
pxa3xx-regs.h [ARM] pxa: add preliminary suspend/resume code for pxa3xx 2008-02-04 13:17:33 +00:00
pxa27x_keypad.h Input: pxa27x_keypad - add debounce_interval to the keypad platform data 2008-01-31 00:59:23 -05:00
pxafb.h
regs-ssp.h spi: pxa2xx_spi clock polarity fix 2008-02-23 17:12:14 -08:00
sharpsl.h [ARM] 4737/1: Refactor corgi_lcd to improve readability + bugfix 2008-01-28 13:13:25 +00:00
spitz.h [ARM] 4737/1: Refactor corgi_lcd to improve readability + bugfix 2008-01-28 13:13:25 +00:00
ssp.h [ARM] pxa: define "struct ssp_device" and add ssp_request()/ssp_free() 2008-01-26 15:07:51 +00:00
system.h
timex.h
tosa.h Input: add Tosa keyboard driver 2008-01-21 01:11:07 -05:00
trizeps4.h
udc.h
uncompress.h [ARM] 4718/1: Fix redefinition warnings in PXA uncompressor code 2008-01-26 15:07:52 +00:00
vmalloc.h
zylonite.h [ARM] pxa: mmc: add 1st host controller support for pxa3xx 2008-01-26 15:07:53 +00:00