Kconfig 806 B

123456789101112131415161718192021222324252627282930313233343536
  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. help
  12. Driver intended mainly as documentation for how to write
  13. a driver. May also be useful for testing userspace code
  14. without hardware.
  15. if IIO_SIMPLE_DUMMY
  16. config IIO_SIMPLE_DUMMY_EVENTS
  17. bool "Event generation support"
  18. select IIO_DUMMY_EVGEN
  19. help
  20. Add some dummy events to the simple dummy driver.
  21. config IIO_SIMPLE_DUMMY_BUFFER
  22. bool "Buffered capture support"
  23. select IIO_BUFFER
  24. select IIO_TRIGGER
  25. select IIO_KFIFO_BUF
  26. help
  27. Add buffered data capture to the simple dummy driver.
  28. endif # IIO_SIMPLE_DUMMY
  29. endmenu