xref: /openbmc/linux/drivers/iio/dummy/Kconfig (revision bb970707)
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       help
14	 Driver intended mainly as documentation for how to write
15	 a driver. May also be useful for testing userspace code
16	 without hardware.
17
18if IIO_SIMPLE_DUMMY
19
20config IIO_SIMPLE_DUMMY_EVENTS
21       bool "Event generation support"
22       select IIO_DUMMY_EVGEN
23       help
24         Add some dummy events to the simple dummy driver.
25
26config IIO_SIMPLE_DUMMY_BUFFER
27	bool "Buffered capture support"
28	select IIO_BUFFER
29	select IIO_TRIGGER
30	select IIO_KFIFO_BUF
31	help
32	  Add buffered data capture to the simple dummy driver.
33
34endif # IIO_SIMPLE_DUMMY
35
36endmenu
37