rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [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 |
| 8 | select IRQ_WORK |
| 9 | tristate |
| 10 | |
| 11 | config 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 | |
| 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 |