blob: 338774cba19bda04523d1dfc46e474152c3986a4 [file] [log] [blame]
Lars-Peter Clausen8548a632015-08-14 16:54:55 +02001#
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
Lars-Peter Clausen670b19a2015-10-13 18:10:28 +020012config 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
Lars-Peter Clausen2d6ca602015-10-13 18:10:29 +020021config 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
Lars-Peter Clausen48b66f82018-01-10 11:13:03 +010032config IIO_BUFFER_HW_CONSUMER
33 tristate "Industrial I/O HW buffering"
34 help
35 Provides a way to bonding when an IIO device has a direct connection
36 to another device in hardware. In this case buffers for data transfers
37 are handled by hardware.
38
39 Should be selected by drivers that want to use the generic Hw consumer
40 interface.
41
Lars-Peter Clausen8548a632015-08-14 16:54:55 +020042config IIO_KFIFO_BUF
43 tristate "Industrial I/O buffering based on kfifo"
44 help
45 A simple fifo based on kfifo. Note that this currently provides
46 no buffer events so it is up to userspace to work out how
47 often to read from the buffer.
48
49config IIO_TRIGGERED_BUFFER
50 tristate
51 select IIO_TRIGGER
52 select IIO_KFIFO_BUF
53 help
54 Provides helper functions for setting up triggered buffers.