1#
2# Industrial I/O subsystem configuration
3#
4menu "IIO staging drivers"
5	depends on IIO
6
7source "drivers/staging/iio/accel/Kconfig"
8source "drivers/staging/iio/adc/Kconfig"
9source "drivers/staging/iio/addac/Kconfig"
10source "drivers/staging/iio/cdc/Kconfig"
11source "drivers/staging/iio/frequency/Kconfig"
12source "drivers/staging/iio/gyro/Kconfig"
13source "drivers/staging/iio/impedance-analyzer/Kconfig"
14source "drivers/staging/iio/light/Kconfig"
15source "drivers/staging/iio/magnetometer/Kconfig"
16source "drivers/staging/iio/meter/Kconfig"
17source "drivers/staging/iio/resolver/Kconfig"
18source "drivers/staging/iio/trigger/Kconfig"
19
20config IIO_DUMMY_EVGEN
21       tristate
22
23config IIO_SIMPLE_DUMMY
24       tristate "An example driver with no hardware requirements"
25       help
26	 Driver intended mainly as documentation for how to write
27	 a driver. May also be useful for testing userspace code
28	 without hardware.
29
30if IIO_SIMPLE_DUMMY
31
32config IIO_SIMPLE_DUMMY_EVENTS
33       bool "Event generation support"
34       select IIO_DUMMY_EVGEN
35       help
36         Add some dummy events to the simple dummy driver.
37
38config IIO_SIMPLE_DUMMY_BUFFER
39	bool "Buffered capture support"
40	select IIO_BUFFER
41	select IIO_TRIGGER
42	select IIO_KFIFO_BUF
43	help
44	  Add buffered data capture to the simple dummy driver.
45
46endif # IIO_SIMPLE_DUMMY
47
48endmenu
49