xref: /linux/drivers/iio/dummy/Kconfig (revision e58e871becec2d3b04ed91c0c16fe8deac9c9dfa)
1#
2# Industrial I/O subsystem Dummy Driver configuration
3#
4menu "IIO dummy driver"
5	depends on IIO
6
7config IIO_DUMMY_EVGEN
8	select IRQ_WORK
9	tristate
10
11config IIO_SIMPLE_DUMMY
12       tristate "An example driver with no hardware requirements"
13       depends on IIO_SW_DEVICE
14       help
15	 Driver intended mainly as documentation for how to write
16	 a driver. May also be useful for testing userspace code
17	 without hardware.
18
19if IIO_SIMPLE_DUMMY
20
21config IIO_SIMPLE_DUMMY_EVENTS
22       bool "Event generation support"
23       select IIO_DUMMY_EVGEN
24       help
25         Add some dummy events to the simple dummy driver.
26
27config IIO_SIMPLE_DUMMY_BUFFER
28	bool "Buffered capture support"
29	select IIO_BUFFER
30	select IIO_TRIGGER
31	select IIO_KFIFO_BUF
32	help
33	  Add buffered data capture to the simple dummy driver.
34
35endif # IIO_SIMPLE_DUMMY
36
37endmenu
38