• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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	select IRQ_WORK
23
24config IIO_SIMPLE_DUMMY
25       tristate "An example driver with no hardware requirements"
26       help
27	 Driver intended mainly as documentation for how to write
28	 a driver. May also be useful for testing userspace code
29	 without hardware.
30
31if IIO_SIMPLE_DUMMY
32
33config IIO_SIMPLE_DUMMY_EVENTS
34       bool "Event generation support"
35       select IIO_DUMMY_EVGEN
36       help
37         Add some dummy events to the simple dummy driver.
38
39config IIO_SIMPLE_DUMMY_BUFFER
40	bool "Buffered capture support"
41	select IIO_BUFFER
42	select IIO_TRIGGER
43	select IIO_KFIFO_BUF
44	help
45	  Add buffered data capture to the simple dummy driver.
46
47endif # IIO_SIMPLE_DUMMY
48
49endmenu
50