1 # SPDX-License-Identifier: GPL-2.0-only
3 # Industrial I/O subsystem Dummy Driver configuration
5 menu "IIO dummy driver"
12 config IIO_SIMPLE_DUMMY
13 tristate "An example driver with no hardware requirements"
14 depends on IIO_SW_DEVICE
16 Driver intended mainly as documentation for how to write
17 a driver. May also be useful for testing userspace code
22 config IIO_SIMPLE_DUMMY_EVENTS
23 bool "Event generation support"
24 select IIO_DUMMY_EVGEN
26 Add some dummy events to the simple dummy driver.
28 The purpose of this is to generate 'fake' event interrupts thus
29 allowing that driver's code to be as close as possible to that
30 a normal driver talking to hardware.
32 config IIO_SIMPLE_DUMMY_BUFFER
33 bool "Buffered capture support"
37 select IIO_TRIGGERED_BUFFER
39 Add buffered data capture to the simple dummy driver.
41 Buffer handling elements of industrial I/O reference driver.
42 Uses the kfifo buffer.
44 endif # IIO_SIMPLE_DUMMY