summaryrefslogtreecommitdiffstats
path: root/drivers/iio/buffer/Kconfig
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-10-13 18:10:29 +0200
committerJonathan Cameron <jic23@kernel.org>2015-10-25 13:55:32 +0000
commit2d6ca60f328450ff5c7802d0857d12e3711348ce (patch)
tree1e3f39956aef3539819429946cbabf429a7fa1a1 /drivers/iio/buffer/Kconfig
parent670b19ae9bfdbcb4ce2c2ffb2ec1659a7f4a2074 (diff)
downloadlinux-2d6ca60f328450ff5c7802d0857d12e3711348ce.tar.bz2
iio: Add a DMAengine framework based buffer
Add a generic fully device independent DMA buffer implementation that uses the DMAegnine framework to perform the DMA transfers. This can be used by converter drivers that whish to provide a DMA buffer for converters that are connected to a DMA core that implements the DMAengine API. Apart from allocating the buffer using iio_dmaengine_buffer_alloc() and freeing it using iio_dmaengine_buffer_free() no additional converter driver specific code is required when using this DMA buffer implementation. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/buffer/Kconfig')
-rw-r--r--drivers/iio/buffer/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/iio/buffer/Kconfig b/drivers/iio/buffer/Kconfig
index b2fda1afc03e..4ffd3db7817f 100644
--- a/drivers/iio/buffer/Kconfig
+++ b/drivers/iio/buffer/Kconfig
@@ -18,6 +18,17 @@ config IIO_BUFFER_DMA
Should be selected by drivers that want to use the generic DMA buffer
infrastructure.
+config IIO_BUFFER_DMAENGINE
+ tristate
+ select IIO_BUFFER_DMA
+ help
+ Provides a bonding of the generic IIO DMA buffer infrastructure with the
+ DMAengine framework. This can be used by converter drivers with a DMA port
+ connected to an external DMA controller which is supported by the
+ DMAengine framework.
+
+ Should be selected by drivers that want to use this functionality.
+
config IIO_KFIFO_BUF
tristate "Industrial I/O buffering based on kfifo"
help