xref: /linux/drivers/iio/Kconfig (revision 8c749ce93ee69e789e46b3be98de9e0cbfcf8ed8)
1#
2# Industrial I/O subsystem configuration
3#
4
5menuconfig IIO
6	tristate "Industrial I/O support"
7	select ANON_INODES
8	help
9	  The industrial I/O subsystem provides a unified framework for
10	  drivers for many different types of embedded sensors using a
11	  number of different physical interfaces (i2c, spi, etc).
12
13if IIO
14
15config IIO_BUFFER
16	bool "Enable buffer support within IIO"
17	help
18	  Provide core support for various buffer based data
19	  acquisition methods.
20
21if IIO_BUFFER
22	source "drivers/iio/buffer/Kconfig"
23endif # IIO_BUFFER
24
25config 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
33config IIO_TRIGGER
34	bool "Enable triggered sampling support"
35	help
36	  Provides IIO core support for triggers.  Currently these
37	  are used to initialize capture of samples to push into
38	  buffers.  The triggers are effectively a 'capture
39	  data now' interrupt.
40
41config 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
49config 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
57config IIO_TRIGGERED_EVENT
58	tristate
59	select IIO_TRIGGER
60	help
61	  Provides helper functions for setting up triggered events.
62
63source "drivers/iio/accel/Kconfig"
64source "drivers/iio/adc/Kconfig"
65source "drivers/iio/amplifiers/Kconfig"
66source "drivers/iio/chemical/Kconfig"
67source "drivers/iio/common/Kconfig"
68source "drivers/iio/dac/Kconfig"
69source "drivers/iio/dummy/Kconfig"
70source "drivers/iio/frequency/Kconfig"
71source "drivers/iio/gyro/Kconfig"
72source "drivers/iio/health/Kconfig"
73source "drivers/iio/humidity/Kconfig"
74source "drivers/iio/imu/Kconfig"
75source "drivers/iio/light/Kconfig"
76source "drivers/iio/magnetometer/Kconfig"
77source "drivers/iio/orientation/Kconfig"
78if IIO_TRIGGER
79   source "drivers/iio/trigger/Kconfig"
80endif #IIO_TRIGGER
81source "drivers/iio/potentiometer/Kconfig"
82source "drivers/iio/pressure/Kconfig"
83source "drivers/iio/proximity/Kconfig"
84source "drivers/iio/temperature/Kconfig"
85
86endif # IIO
87