spi/pxa2xx: Add chipselect support for Sodaville
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 23 Nov 2010 01:12:17 +0000 (17:12 -0800)
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 2 Dec 2010 16:55:12 +0000 (17:55 +0100)
The SPI core on Sodaville supports chip selects. Its configuration
moved into the SSSR register at bit 0 and 1. Thus Sodaville can be hooked
up with up to 4 devices.
This patch ensures that the bits which are otherwiese reserved are only
touched on Sodaville and not on any other PXAs. Also it makes sure that
the status register does not lose the CS information while clearing the
ROR bit.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
drivers/spi/pxa2xx_spi.c
include/linux/pxa2xx_ssp.h

Simple merge
Simple merge