Kconfig 838 B

1234567891011121314151617181920212223242526272829303132333435363738
  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_WORK
  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. config IIO_SIMPLE_DUMMY_BUFFER
  23. bool "Buffered capture support"
  24. select IIO_BUFFER
  25. select IIO_TRIGGER
  26. select IIO_KFIFO_BUF
  27. help
  28. Add buffered data capture to the simple dummy driver.
  29. endif # IIO_SIMPLE_DUMMY
  30. endmenu