blob: aa5824d96a4366a19e6875f499f4d437c5b51ba6 [file] [log] [blame]
Cristina Opriceana415f7922015-10-09 16:31:28 +03001#
2# Industrial I/O subsystem Dummy Driver configuration
3#
4menu "IIO dummy driver"
5 depends on IIO
6
7config IIO_DUMMY_EVGEN
Arnd Bergmann9ab655a2015-12-04 00:28:17 +01008 select IRQ_WORK
9 tristate
Cristina Opriceana415f7922015-10-09 16:31:28 +030010
11config IIO_SIMPLE_DUMMY
12 tristate "An example driver with no hardware requirements"
Daniel Baluta3d85fb6f2016-04-25 16:15:52 +030013 depends on IIO_SW_DEVICE
Cristina Opriceana415f7922015-10-09 16:31:28 +030014 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