aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorJassi Brar <jassi.brar@samsung.com>2009-11-30 02:39:42 -0500
committerGrant Likely <grant.likely@secretlab.ca>2009-12-17 10:58:17 -0500
commit230d42d422e7b69fc9b270f41c69e63b54572e26 (patch)
treef2cec91b4795c78fa431134a73c5bf0e596a0482 /drivers/spi/Kconfig
parent6aed4ee9b4610cd1e0315c90855b32e59ee81a15 (diff)
spi: Add s3c64xx SPI Controller driver
Each SPI controller has exactly one CS line and as such doesn't provide for multi-cs. We implement a workaround to support multi-cs by _not_ configuring the mux'ed CS pin for each SPI controller. The CS mechanism is assumed to be fully machine specific - the driver doesn't even assume some GPIO pin is used to control the CS. The driver selects between DMA and POLLING mode depending upon the xfer size - DMA mode for xfers bigger than FIFO size, POLLING mode otherwise. The driver has been designed to be capable of running SoCs since s3c64xx and till date, for that reason some of the register fields have been passed via, SoC specific, platform data. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r--drivers/spi/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 6fa595e0c989..c712f53cd5c9 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -240,6 +240,13 @@ config SPI_S3C24XX_GPIO
240 the inbuilt hardware cannot provide the transfer mode, or 240 the inbuilt hardware cannot provide the transfer mode, or
241 where the board is using non hardware connected pins. 241 where the board is using non hardware connected pins.
242 242
243config SPI_S3C64XX
244 tristate "Samsung S3C64XX series type SPI"
245 depends on ARCH_S3C64XX && EXPERIMENTAL
246 select S3C64XX_DMA
247 help
248 SPI driver for Samsung S3C64XX and newer SoCs.
249
243config SPI_SH_MSIOF 250config SPI_SH_MSIOF
244 tristate "SuperH MSIOF SPI controller" 251 tristate "SuperH MSIOF SPI controller"
245 depends on SUPERH && HAVE_CLK 252 depends on SUPERH && HAVE_CLK