Kconfig 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #
  2. # Industrial I/O subsystem Dummy Driver configuration
  3. #
  4. menu "IIO dummy driver"
  5. depends on IIO
  6. config IIO_DUMMY_EVGEN
  7. select IRQ_SIM
  8. tristate
  9. config IIO_SIMPLE_DUMMY
  10. tristate "An example driver with no hardware requirements"
  11. depends on IIO_SW_DEVICE
  12. help
  13. Driver intended mainly as documentation for how to write
  14. a driver. May also be useful for testing userspace code
  15. without hardware.
  16. if IIO_SIMPLE_DUMMY
  17. config IIO_SIMPLE_DUMMY_EVENTS
  18. bool "Event generation support"
  19. select IIO_DUMMY_EVGEN
  20. help
  21. Add some dummy events to the simple dummy driver.
  22. The purpose of this is to generate 'fake' event interrupts thus
  23. allowing that driver's code to be as close as possible to that
  24. a normal driver talking to hardware.
  25. config IIO_SIMPLE_DUMMY_BUFFER
  26. bool "Buffered capture support"
  27. select IIO_BUFFER
  28. select IIO_TRIGGER
  29. select IIO_KFIFO_BUF
  30. help
  31. Add buffered data capture to the simple dummy driver.
  32. Buffer handling elements of industrial I/O reference driver.
  33. Uses the kfifo buffer.
  34. endif # IIO_SIMPLE_DUMMY
  35. endmenu