brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · 1f46cb9 Raw
47 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# Industrial I/O subsystem Dummy Driver configuration4#5menu "IIO dummy driver"6	depends on IIO7 8config IIO_DUMMY_EVGEN9	select IRQ_SIM10	tristate11 12config IIO_SIMPLE_DUMMY13	tristate "An example driver with no hardware requirements"14	depends on IIO_SW_DEVICE15	help16	  Driver intended mainly as documentation for how to write17	  a driver. May also be useful for testing userspace code18	  without hardware.19 20if IIO_SIMPLE_DUMMY21 22config IIO_SIMPLE_DUMMY_EVENTS23	bool "Event generation support"24	select IIO_DUMMY_EVGEN25	help26	  Add some dummy events to the simple dummy driver.27 28	  The purpose of this is to generate 'fake' event interrupts thus29	  allowing that driver's code to be as close as possible to that30	  a normal driver talking to hardware.31 32config IIO_SIMPLE_DUMMY_BUFFER33	bool "Buffered capture support"34	select IIO_BUFFER35	select IIO_TRIGGER36	select IIO_KFIFO_BUF37	select IIO_TRIGGERED_BUFFER38	help39	  Add buffered data capture to the simple dummy driver.40 41	  Buffer handling elements of industrial I/O reference driver.42	  Uses the kfifo buffer.43 44endif # IIO_SIMPLE_DUMMY45 46endmenu47