# SPDX-License-Identifier: GPL-2.0-only # # Industrial I/O subsystem Dummy Driver configuration # menu "IIO dummy driver" depends on [31mCONFIG_IIO[0m config [31mCONFIG_IIO_DUMMY_EVGEN[0m select [31mCONFIG_IRQ_SIM[0m tristate config [31mCONFIG_IIO_SIMPLE_DUMMY[0m tristate "An example driver with no hardware requirements" depends on [31mCONFIG_IIO_SW_DEVICE[0m help Driver intended mainly as documentation for how to write a driver. May also be useful for testing userspace code without hardware. if [31mCONFIG_IIO_SIMPLE_DUMMY[0m config [31mCONFIG_IIO_SIMPLE_DUMMY_EVENTS[0m bool "Event generation support" select [31mCONFIG_IIO_DUMMY_EVGEN[0m help Add some dummy events to the simple dummy driver. The purpose of this is to generate 'fake' event interrupts thus allowing that driver's code to be as close as possible to that a normal driver talking to hardware. config [31mCONFIG_IIO_SIMPLE_DUMMY_BUFFER[0m bool "Buffered capture support" select [31mCONFIG_IIO_BUFFER[0m select [31mCONFIG_IIO_TRIGGER[0m select [31mCONFIG_IIO_KFIFO_BUF[0m help Add buffered data capture to the simple dummy driver. Buffer handling elements of industrial I/O reference driver. Uses the kfifo buffer. endif # [31mCONFIG_IIO_SIMPLE_DUMMY[0m endmenu |