xref: /openbmc/linux/drivers/iio/buffer/Kconfig (revision bc5aa3a0)
1#
2# Industrial I/O generic buffer implementations
3#
4# When adding new entries keep the list in alphabetical order
5
6config IIO_BUFFER_CB
7	tristate "IIO callback buffer used for push in-kernel interfaces"
8	help
9	  Should be selected by any drivers that do in-kernel push
10	  usage.  That is, those where the data is pushed to the consumer.
11
12config IIO_BUFFER_DMA
13	tristate
14	help
15	  Provides the generic IIO DMA buffer infrastructure that can be used by
16	  drivers for devices with DMA support to implement the IIO buffer.
17
18	  Should be selected by drivers that want to use the generic DMA buffer
19	  infrastructure.
20
21config IIO_BUFFER_DMAENGINE
22	tristate
23	select IIO_BUFFER_DMA
24	help
25	  Provides a bonding of the generic IIO DMA buffer infrastructure with the
26	  DMAengine framework. This can be used by converter drivers with a DMA port
27	  connected to an external DMA controller which is supported by the
28	  DMAengine framework.
29
30	  Should be selected by drivers that want to use this functionality.
31
32config IIO_KFIFO_BUF
33	tristate "Industrial I/O buffering based on kfifo"
34	help
35	  A simple fifo based on kfifo.  Note that this currently provides
36	  no buffer events so it is up to userspace to work out how
37	  often to read from the buffer.
38
39config IIO_TRIGGERED_BUFFER
40	tristate
41	select IIO_TRIGGER
42	select IIO_KFIFO_BUF
43	help
44	  Provides helper functions for setting up triggered buffers.
45