blob: 1dec0fecb6efa940175074fd04223b48fa6be1f5 [file] [log] [blame]
xjb04a4022021-11-25 15:01:52 +08001#
2# Industrial I/O subsystem configuration
3#
4
5menuconfig IIO
6 tristate "Industrial I/O support"
7 help
8 The industrial I/O subsystem provides a unified framework for
9 drivers for many different types of embedded sensors using a
10 number of different physical interfaces (i2c, spi, etc).
11
12if IIO
13
14config IIO_BUFFER
15 bool "Enable buffer support within IIO"
16 help
17 Provide core support for various buffer based data
18 acquisition methods.
19
20if IIO_BUFFER
21 source "drivers/iio/buffer/Kconfig"
22endif # IIO_BUFFER
23
24config IIO_CONFIGFS
25 tristate "Enable IIO configuration via configfs"
26 select CONFIGFS_FS
27 help
28 This allows configuring various IIO bits through configfs
29 (e.g. software triggers). For more info see
30 Documentation/iio/iio_configfs.txt.
31
32config IIO_TRIGGER
33 bool "Enable triggered sampling support"
34 help
35 Provides IIO core support for triggers. Currently these
36 are used to initialize capture of samples to push into
37 buffers. The triggers are effectively a 'capture
38 data now' interrupt.
39
40config IIO_CONSUMERS_PER_TRIGGER
41 int "Maximum number of consumers per trigger"
42 depends on IIO_TRIGGER
43 default "2"
44 help
45 This value controls the maximum number of consumers that a
46 given trigger may handle. Default is 2.
47
48config IIO_SW_DEVICE
49 tristate "Enable software IIO device support"
50 select IIO_CONFIGFS
51 help
52 Provides IIO core support for software devices. A software
53 device can be created via configfs or directly by a driver
54 using the API provided.
55
56config IIO_SW_TRIGGER
57 tristate "Enable software triggers support"
58 select IIO_CONFIGFS
59 help
60 Provides IIO core support for software triggers. A software
61 trigger can be created via configfs or directly by a driver
62 using the API provided.
63
64config IIO_TRIGGERED_EVENT
65 tristate
66 select IIO_TRIGGER
67 help
68 Provides helper functions for setting up triggered events.
69
70source "drivers/iio/accel/Kconfig"
71source "drivers/iio/adc/Kconfig"
72source "drivers/iio/afe/Kconfig"
73source "drivers/iio/amplifiers/Kconfig"
74source "drivers/iio/chemical/Kconfig"
75source "drivers/iio/common/Kconfig"
76source "drivers/iio/counter/Kconfig"
77source "drivers/iio/dac/Kconfig"
78source "drivers/iio/dummy/Kconfig"
79source "drivers/iio/frequency/Kconfig"
80source "drivers/iio/gyro/Kconfig"
81source "drivers/iio/health/Kconfig"
82source "drivers/iio/humidity/Kconfig"
83source "drivers/iio/imu/Kconfig"
84source "drivers/iio/light/Kconfig"
85source "drivers/iio/magnetometer/Kconfig"
86source "drivers/iio/multiplexer/Kconfig"
87source "drivers/iio/orientation/Kconfig"
88if IIO_TRIGGER
89 source "drivers/iio/trigger/Kconfig"
90endif #IIO_TRIGGER
91source "drivers/iio/potentiometer/Kconfig"
92source "drivers/iio/potentiostat/Kconfig"
93source "drivers/iio/pressure/Kconfig"
94source "drivers/iio/proximity/Kconfig"
95source "drivers/iio/resolver/Kconfig"
96source "drivers/iio/temperature/Kconfig"
97
98endif # IIO