Kconfig (ee3e542fec6e69bc9fb668698889a37d93950ddf) Kconfig (e5a639421821c7cd11832fd7fbe6376bfb304880)
1#
2# Industrial I/O subsystem configuration
3#
4
5menuconfig IIO
6 tristate "Industrial I/O support"
7 depends on GENERIC_HARDIRQS
8 help

--- 9 unchanged lines hidden (view full) ---

18 Provide core support for various buffer based data
19 acquisition methods.
20
21if IIO_BUFFER
22
23config IIO_BUFFER_CB
24boolean "IIO callback buffer used for push in-kernel interfaces"
25 help
1#
2# Industrial I/O subsystem configuration
3#
4
5menuconfig IIO
6 tristate "Industrial I/O support"
7 depends on GENERIC_HARDIRQS
8 help

--- 9 unchanged lines hidden (view full) ---

18 Provide core support for various buffer based data
19 acquisition methods.
20
21if IIO_BUFFER
22
23config IIO_BUFFER_CB
24boolean "IIO callback buffer used for push in-kernel interfaces"
25 help
26 Should be selected by any drivers that do-inkernel push
26 Should be selected by any drivers that do in-kernel push
27 usage. That is, those where the data is pushed to the consumer.
28
29config IIO_KFIFO_BUF
30 select IIO_TRIGGER
31 tristate "Industrial I/O buffering based on kfifo"
32 help
27 usage. That is, those where the data is pushed to the consumer.
28
29config IIO_KFIFO_BUF
30 select IIO_TRIGGER
31 tristate "Industrial I/O buffering based on kfifo"
32 help
33 A simple fifo based on kfifo. Use this if you want a fifo
34 rather than a ring buffer. Note that this currently provides
33 A simple fifo based on kfifo. Note that this currently provides
35 no buffer events so it is up to userspace to work out how
36 often to read from the buffer.
37
38config IIO_TRIGGERED_BUFFER
39 tristate
40 select IIO_TRIGGER
41 select IIO_KFIFO_BUF
42 help
43 Provides helper functions for setting up triggered buffers.
44
45endif # IIO_BUFFER
46
47config IIO_TRIGGER
48 boolean "Enable triggered sampling support"
49 help
50 Provides IIO core support for triggers. Currently these
51 are used to initialize capture of samples to push into
34 no buffer events so it is up to userspace to work out how
35 often to read from the buffer.
36
37config IIO_TRIGGERED_BUFFER
38 tristate
39 select IIO_TRIGGER
40 select IIO_KFIFO_BUF
41 help
42 Provides helper functions for setting up triggered buffers.
43
44endif # IIO_BUFFER
45
46config IIO_TRIGGER
47 boolean "Enable triggered sampling support"
48 help
49 Provides IIO core support for triggers. Currently these
50 are used to initialize capture of samples to push into
52 ring buffers. The triggers are effectively a 'capture
51 buffers. The triggers are effectively a 'capture
53 data now' interrupt.
54
55config IIO_CONSUMERS_PER_TRIGGER
56 int "Maximum number of consumers per trigger"
57 depends on IIO_TRIGGER
58 default "2"
59 help
60 This value controls the maximum number of consumers that a

--- 8 unchanged lines hidden (view full) ---

69source "drivers/iio/gyro/Kconfig"
70source "drivers/iio/imu/Kconfig"
71source "drivers/iio/light/Kconfig"
72source "drivers/iio/magnetometer/Kconfig"
73if IIO_TRIGGER
74 source "drivers/iio/trigger/Kconfig"
75endif #IIO_TRIGGER
76source "drivers/iio/pressure/Kconfig"
52 data now' interrupt.
53
54config IIO_CONSUMERS_PER_TRIGGER
55 int "Maximum number of consumers per trigger"
56 depends on IIO_TRIGGER
57 default "2"
58 help
59 This value controls the maximum number of consumers that a

--- 8 unchanged lines hidden (view full) ---

68source "drivers/iio/gyro/Kconfig"
69source "drivers/iio/imu/Kconfig"
70source "drivers/iio/light/Kconfig"
71source "drivers/iio/magnetometer/Kconfig"
72if IIO_TRIGGER
73 source "drivers/iio/trigger/Kconfig"
74endif #IIO_TRIGGER
75source "drivers/iio/pressure/Kconfig"
76source "drivers/iio/temperature/Kconfig"
77
78endif # IIO
77
78endif # IIO