Commit | Line | Data |
---|---|---|
a980e046 | 1 | # |
e58bf533 | 2 | # Industrial I/O subsystem configuration |
a980e046 JC |
3 | # |
4 | ||
5 | menuconfig IIO | |
6 | tristate "Industrial I/O support" | |
cc8b49fa | 7 | select ANON_INODES |
a980e046 JC |
8 | help |
9 | The industrial I/O subsystem provides a unified framework for | |
10 | drivers for many different types of embedded sensors using a | |
a529ae4b | 11 | number of different physical interfaces (i2c, spi, etc). |
a980e046 JC |
12 | |
13 | if IIO | |
14 | ||
15 | config IIO_BUFFER | |
16 | bool "Enable buffer support within IIO" | |
17 | help | |
18 | Provide core support for various buffer based data | |
19 | acquisition methods. | |
20 | ||
21 | if IIO_BUFFER | |
22 | ||
92d1079b | 23 | config IIO_BUFFER_CB |
6341e62b | 24 | bool "IIO callback buffer used for push in-kernel interfaces" |
92d1079b | 25 | help |
93232cd5 | 26 | Should be selected by any drivers that do in-kernel push |
92d1079b JC |
27 | usage. That is, those where the data is pushed to the consumer. |
28 | ||
a980e046 | 29 | config IIO_KFIFO_BUF |
a980e046 JC |
30 | tristate "Industrial I/O buffering based on kfifo" |
31 | help | |
1b2bbe3e | 32 | A simple fifo based on kfifo. Note that this currently provides |
a980e046 JC |
33 | no buffer events so it is up to userspace to work out how |
34 | often to read from the buffer. | |
35 | ||
23f2d735 LPC |
36 | config IIO_TRIGGERED_BUFFER |
37 | tristate | |
38 | select IIO_TRIGGER | |
39 | select IIO_KFIFO_BUF | |
40 | help | |
41 | Provides helper functions for setting up triggered buffers. | |
42 | ||
a980e046 JC |
43 | endif # IIO_BUFFER |
44 | ||
45 | config IIO_TRIGGER | |
6341e62b | 46 | bool "Enable triggered sampling support" |
a980e046 JC |
47 | help |
48 | Provides IIO core support for triggers. Currently these | |
49 | are used to initialize capture of samples to push into | |
1b2bbe3e | 50 | buffers. The triggers are effectively a 'capture |
a980e046 JC |
51 | data now' interrupt. |
52 | ||
53 | config IIO_CONSUMERS_PER_TRIGGER | |
54 | int "Maximum number of consumers per trigger" | |
55 | depends on IIO_TRIGGER | |
56 | default "2" | |
57 | help | |
58 | This value controls the maximum number of consumers that a | |
59 | given trigger may handle. Default is 2. | |
60 | ||
45fe6f7d | 61 | source "drivers/iio/accel/Kconfig" |
0e589d5f | 62 | source "drivers/iio/adc/Kconfig" |
e71d42e0 | 63 | source "drivers/iio/amplifiers/Kconfig" |
73c6768b | 64 | source "drivers/iio/common/Kconfig" |
ec04cb04 LPC |
65 | source "drivers/iio/dac/Kconfig" |
66 | source "drivers/iio/frequency/Kconfig" | |
c5bdbef7 | 67 | source "drivers/iio/gyro/Kconfig" |
091a121b | 68 | source "drivers/iio/humidity/Kconfig" |
ec04cb04 LPC |
69 | source "drivers/iio/imu/Kconfig" |
70 | source "drivers/iio/light/Kconfig" | |
bc1d57ba | 71 | source "drivers/iio/magnetometer/Kconfig" |
098d3bec | 72 | source "drivers/iio/orientation/Kconfig" |
e64e7d5c JC |
73 | if IIO_TRIGGER |
74 | source "drivers/iio/trigger/Kconfig" | |
75 | endif #IIO_TRIGGER | |
217494e5 | 76 | source "drivers/iio/pressure/Kconfig" |
24ddb0e4 | 77 | source "drivers/iio/proximity/Kconfig" |
e5a63942 | 78 | source "drivers/iio/temperature/Kconfig" |
e71d42e0 | 79 | |
a980e046 | 80 | endif # IIO |