Cristina Opriceana | 415f792 | 2015-10-09 16:31:28 +0300 | [diff] [blame] | 1 | # |
| 2 | # Industrial I/O subsystem Dummy Driver configuration |
| 3 | # |
| 4 | menu "IIO dummy driver" |
| 5 | depends on IIO |
| 6 | |
| 7 | config IIO_DUMMY_EVGEN |
Arnd Bergmann | 9ab655a | 2015-12-04 00:28:17 +0100 | [diff] [blame] | 8 | select IRQ_WORK |
| 9 | tristate |
Cristina Opriceana | 415f792 | 2015-10-09 16:31:28 +0300 | [diff] [blame] | 10 | |
| 11 | config IIO_SIMPLE_DUMMY |
| 12 | tristate "An example driver with no hardware requirements" |
Daniel Baluta | 3d85fb6f | 2016-04-25 16:15:52 +0300 | [diff] [blame] | 13 | depends on IIO_SW_DEVICE |
Cristina Opriceana | 415f792 | 2015-10-09 16:31:28 +0300 | [diff] [blame] | 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 | |
| 19 | if IIO_SIMPLE_DUMMY |
| 20 | |
| 21 | config 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 | |
| 27 | config 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 | |
| 35 | endif # IIO_SIMPLE_DUMMY |
| 36 | |
| 37 | endmenu |