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 | |
8548a63b | 22 | source "drivers/iio/buffer/Kconfig" |
a980e046 JC |
23 | endif # IIO_BUFFER |
24 | ||
8261d961 DB |
25 | config IIO_CONFIGFS |
26 | tristate "Enable IIO configuration via configfs" | |
27 | select CONFIGFS_FS | |
28 | help | |
29 | This allows configuring various IIO bits through configfs | |
30 | (e.g. software triggers). For more info see | |
31 | Documentation/iio/iio_configfs.txt. | |
32 | ||
a980e046 | 33 | config IIO_TRIGGER |
6341e62b | 34 | bool "Enable triggered sampling support" |
a980e046 JC |
35 | help |
36 | Provides IIO core support for triggers. Currently these | |
37 | are used to initialize capture of samples to push into | |
1b2bbe3e | 38 | buffers. The triggers are effectively a 'capture |
a980e046 JC |
39 | data now' interrupt. |
40 | ||
41 | config IIO_CONSUMERS_PER_TRIGGER | |
42 | int "Maximum number of consumers per trigger" | |
43 | depends on IIO_TRIGGER | |
44 | default "2" | |
45 | help | |
46 | This value controls the maximum number of consumers that a | |
47 | given trigger may handle. Default is 2. | |
48 | ||
b662f809 DB |
49 | config IIO_SW_TRIGGER |
50 | tristate "Enable software triggers support" | |
51 | select IIO_CONFIGFS | |
52 | help | |
53 | Provides IIO core support for software triggers. A software | |
54 | trigger can be created via configfs or directly by a driver | |
55 | using the API provided. | |
56 | ||
735ad074 VB |
57 | config IIO_TRIGGERED_EVENT |
58 | tristate | |
59 | select IIO_TRIGGER | |
60 | help | |
61 | Provides helper functions for setting up triggered events. | |
62 | ||
45fe6f7d | 63 | source "drivers/iio/accel/Kconfig" |
0e589d5f | 64 | source "drivers/iio/adc/Kconfig" |
e71d42e0 | 65 | source "drivers/iio/amplifiers/Kconfig" |
cd8d9777 | 66 | source "drivers/iio/chemical/Kconfig" |
73c6768b | 67 | source "drivers/iio/common/Kconfig" |
ec04cb04 | 68 | source "drivers/iio/dac/Kconfig" |
415f7924 | 69 | source "drivers/iio/dummy/Kconfig" |
ec04cb04 | 70 | source "drivers/iio/frequency/Kconfig" |
c5bdbef7 | 71 | source "drivers/iio/gyro/Kconfig" |
4d33615d | 72 | source "drivers/iio/health/Kconfig" |
091a121b | 73 | source "drivers/iio/humidity/Kconfig" |
ec04cb04 LPC |
74 | source "drivers/iio/imu/Kconfig" |
75 | source "drivers/iio/light/Kconfig" | |
bc1d57ba | 76 | source "drivers/iio/magnetometer/Kconfig" |
098d3bec | 77 | source "drivers/iio/orientation/Kconfig" |
e64e7d5c JC |
78 | if IIO_TRIGGER |
79 | source "drivers/iio/trigger/Kconfig" | |
80 | endif #IIO_TRIGGER | |
c05dc2cc | 81 | source "drivers/iio/potentiometer/Kconfig" |
217494e5 | 82 | source "drivers/iio/pressure/Kconfig" |
24ddb0e4 | 83 | source "drivers/iio/proximity/Kconfig" |
e5a63942 | 84 | source "drivers/iio/temperature/Kconfig" |
e71d42e0 | 85 | |
a980e046 | 86 | endif # IIO |