android_kernel_motorola_sm6225/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 [ARM] 3149/1: SharpSL: Add Akita (SL-C1000) machine support 2005-11-12 18:53:48 +00:00
audio.h [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
bitfield.h
cm-x270.h [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
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 [ARM] Collect 8250-based debug implementations together 2006-03-21 22:05:57 +00:00
dma.h [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
entry-macro.S [ARM] 4440/1: PXA: enable the checking of ICIP2 for IRQs 2007-07-12 14:28:14 +01:00
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 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 [ARM] 2897/2: PXA2xx IRDA support 2005-10-28 16:39:33 +01:00
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 [ARM] 3417/1: add support for logicpd pxa270 card engine 2006-03-28 21:08:13 +01:00
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 [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
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 [MTD] XIP cleanup 2005-07-07 16:50:16 +02:00
ohci.h [ARM] 3547/1: PXA-OHCI: Allow platforms to specify a power budget 2006-06-08 22:44:07 +01:00
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 [ARM] 3594/1: Poodle: Add touchscreen support + other updates 2006-06-19 20:46:05 +01:00
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 pxafb: Add support for other palette formats 2007-10-16 09:43:15 -07:00
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 [ARM] 3593/1: Add reboot and shutdown handlers for Zaurus handhelds 2006-06-19 19:57:12 +01:00
timex.h [ARM] pxa: PXA3xx base support 2007-10-15 18:53:43 +01:00
tosa.h Input: add Tosa keyboard driver 2008-01-21 01:11:07 -05:00
trizeps4.h [ARM] 3666/1: TRIZEPS4 [1/5] core 2006-06-29 16:25:37 +01:00
udc.h USB: pxa2xx_udc: use generic gpio layer 2007-07-12 16:34:42 -07:00
uncompress.h [ARM] 4718/1: Fix redefinition warnings in PXA uncompressor code 2008-01-26 15:07:52 +00:00
vmalloc.h [PATCH] ARM: cleanup vmalloc start/offset macros 2005-05-03 12:20:29 +01:00
zylonite.h [ARM] pxa: mmc: add 1st host controller support for pxa3xx 2008-01-26 15:07:53 +00:00