aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorSourav Poddar <sourav.poddar@ti.com>2013-08-20 09:25:48 -0400
committerMark Brown <broonie@linaro.org>2013-08-22 08:08:06 -0400
commit505a14954e2d7f2321a73f7a650bb6591d2fc1d3 (patch)
treec9317571cc1480c4c2f793d692b2c6efce00af91 /drivers/spi/Kconfig
parentce74ac80d25bcb1bf5c6638cf376054c9b7c4b0b (diff)
spi/qspi: Add qspi flash controller
The patch add basic support for the quad spi controller. QSPI is a kind of spi module that allows single, dual and quad read access to external spi devices. The module has a memory mapped interface which provide direct interface for accessing data form external spi devices. The patch will configure controller clocks, device control register and for defining low level transfer apis which will be used by the spi framework to transfer data to the slave spi device(flash in this case). Test details: ------------- Tested this on dra7 board. Test1: Ran mtd_stesstest for 40000 iterations. - All iterations went through without failure. Test2: Use mtd utilities: - flash_erase to erase the flash device - mtd_debug read to read data back. - mtd_debug write to write to the data flash. diff between the write and read data shows zero. Acked-by: Felipe Balbi<balbi@ti.com> Reviewed-by: Felipe Balbi<balbi@ti.com> Signed-off-by: Sourav Poddar <sourav.poddar@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r--drivers/spi/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 89cbbabaff44..72dee132b6cb 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -285,6 +285,14 @@ config SPI_OMAP24XX
285 SPI master controller for OMAP24XX and later Multichannel SPI 285 SPI master controller for OMAP24XX and later Multichannel SPI
286 (McSPI) modules. 286 (McSPI) modules.
287 287
288config SPI_TI_QSPI
289 tristate "DRA7xxx QSPI controller support"
290 depends on ARCH_OMAP2PLUS || COMPILE_TEST
291 help
292 QSPI master controller for DRA7xxx used for flash devices.
293 This device supports single, dual and quad read support, while
294 it only supports single write mode.
295
288config SPI_OMAP_100K 296config SPI_OMAP_100K
289 tristate "OMAP SPI 100K" 297 tristate "OMAP SPI 100K"
290 depends on ARCH_OMAP850 || ARCH_OMAP730 298 depends on ARCH_OMAP850 || ARCH_OMAP730