summaryrefslogtreecommitdiffstats
path: root/drivers/iio/buffer/Kconfig
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-08-14 16:54:55 +0200
committerJonathan Cameron <jic23@kernel.org>2015-08-16 10:51:21 +0100
commit8548a63b37be4891e7972ba058b785d9468e8907 (patch)
tree30abebcbaeee81baa4d49c673f7dc89b950031df /drivers/iio/buffer/Kconfig
parent050ee2f16e245b42c9ba30640bb91b309b424c48 (diff)
downloadlinux-stable-8548a63b37be4891e7972ba058b785d9468e8907.tar.gz
linux-stable-8548a63b37be4891e7972ba058b785d9468e8907.tar.bz2
linux-stable-8548a63b37be4891e7972ba058b785d9468e8907.zip
iio: Move generic buffer implementations to sub-directory
For generic IIO trigger implementations we already have a sub-directory, but the generic buffer implementations currently reside in the IIO top-level directory. The main reason is that things have historically grown into this form. With more generic buffer implementations on its way now is the perfect time to clean this up and introduce a sub-directory for generic buffer implementations to avoid too much clutter in the top-level directory. 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/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/iio/buffer/Kconfig b/drivers/iio/buffer/Kconfig
new file mode 100644
index 000000000000..0a7b2fd3699b
--- /dev/null
+++ b/drivers/iio/buffer/Kconfig
@@ -0,0 +1,24 @@
+#
+# Industrial I/O generic buffer implementations
+#
+# When adding new entries keep the list in alphabetical order
+
+config IIO_BUFFER_CB
+ tristate "IIO callback buffer used for push in-kernel interfaces"
+ help
+ Should be selected by any drivers that do in-kernel push
+ usage. That is, those where the data is pushed to the consumer.
+
+config IIO_KFIFO_BUF
+ tristate "Industrial I/O buffering based on kfifo"
+ help
+ A simple fifo based on kfifo. Note that this currently provides
+ no buffer events so it is up to userspace to work out how
+ often to read from the buffer.
+
+config IIO_TRIGGERED_BUFFER
+ tristate
+ select IIO_TRIGGER
+ select IIO_KFIFO_BUF
+ help
+ Provides helper functions for setting up triggered buffers.