aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2009-12-15 01:20:24 -0500
committerGrant Likely <grant.likely@secretlab.ca>2009-12-17 10:57:01 -0500
commitbec0806cfec6ded1a7e097bb95279e521a796129 (patch)
treef4be92d1c09a1785ea693d9f99ad2dbfc26bbbac /drivers/spi/Kconfig
parente24c745272072fd2abe55209f1949b7b7ee602a7 (diff)
spi_s3c24xx: add FIQ pseudo-DMA support
Add pseudo-DMA by FIQ to the S3C24XX SPI driver. This allows the driver to get DMA-like performance where there are either no free DMA channels or when doing transfers that required both TX and RX data paths. Since this patch requires the addition of an assembly file to hold the FIQ code, we rename the module (instead of adding a rename of the .c file to this patch). We expect most users are loading this via udev and thus there should be no change to the userland configuration. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Simtec Linux Team <linux@simtec.co.uk> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r--drivers/spi/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index d7c1741c4c5b..6fa595e0c989 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -219,6 +219,17 @@ config SPI_S3C24XX
219 help 219 help
220 SPI driver for Samsung S3C24XX series ARM SoCs 220 SPI driver for Samsung S3C24XX series ARM SoCs
221 221
222config SPI_S3C24XX_FIQ
223 bool "S3C24XX driver with FIQ pseudo-DMA"
224 depends on SPI_S3C24XX
225 select FIQ
226 help
227 Enable FIQ support for the S3C24XX SPI driver to provide pseudo
228 DMA by using the fast-interrupt request framework, This allows
229 the driver to get DMA-like performance when there are either
230 no free DMA channels, or when doing transfers that required both
231 TX and RX data paths.
232
222config SPI_S3C24XX_GPIO 233config SPI_S3C24XX_GPIO
223 tristate "Samsung S3C24XX series SPI by GPIO" 234 tristate "Samsung S3C24XX series SPI by GPIO"
224 depends on ARCH_S3C2410 && EXPERIMENTAL 235 depends on ARCH_S3C2410 && EXPERIMENTAL