diff options
author | Zhiwu Song <zhiwu.song@csr.com> | 2012-02-13 17:45:38 +0800 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-03-09 14:51:11 -0700 |
commit | 1cc2df9d6f41b689dc9a562a22de87f860ce6be5 (patch) | |
tree | 72370e8093f8047cdc4b69a83d1e28c5f50e5b74 /drivers/spi/Kconfig | |
parent | de3bd7e6de25141c466773c2e0fa319b2fa93655 (diff) | |
download | talos-obmc-linux-1cc2df9d6f41b689dc9a562a22de87f860ce6be5.tar.gz talos-obmc-linux-1cc2df9d6f41b689dc9a562a22de87f860ce6be5.zip |
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>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 566ff7bb49ba..3508648c32a2 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -336,6 +336,13 @@ config SPI_SH_HSPI help SPI driver for SuperH HSPI blocks. +config SPI_SIRF + tristate "CSR SiRFprimaII SPI controller" + depends on ARCH_PRIMA2 + select SPI_BITBANG + help + SPI driver for CSR SiRFprimaII SoCs + config SPI_STMP3XXX tristate "Freescale STMP37xx/378x SPI/SSP controller" depends on ARCH_STMP3XXX |