SPI: add CSR SiRFprimaII SPI controller driver
authorZhiwu Song <zhiwu.song@csr.com>
Mon, 13 Feb 2012 09:45:38 +0000 (17:45 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 9 Mar 2012 21:51:11 +0000 (14:51 -0700)
commit1cc2df9d6f41b689dc9a562a22de87f860ce6be5
tree72370e8093f8047cdc4b69a83d1e28c5f50e5b74
parentde3bd7e6de25141c466773c2e0fa319b2fa93655
SPI: add CSR SiRFprimaII SPI controller driver

CSR SiRFprimaII has two SPIs (SPI0 and SPI1). Features:
* Master and slave modes
* 8-/12-/16-/32-bit data unit
* 256 bytes receive data FIFO and 256 bytes transmit data FIFO
* Multi-unit frame
* Configurable SPI_EN (chip select pin) active state
* Configurable SPI_CLK polarity
* Configurable SPI_CLK phase
* Configurable MSB/LSB first

Signed-off-by: Zhiwu Song <zhiwu.song@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-sirf.c [new file with mode: 0644]