]> git.karo-electronics.de Git - mv-sheeva.git/commit
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)
commit2a8626a9e2d86d114a2d9f813a1acebf9d53dd10
treefa8764bdc568371a6e3038a402cc101eda07bb19
parentd0777f2c3eda180e3fc549e0efbe741014f17689
spi/pxa2xx: Add chipselect support for Sodaville

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