Kconfig 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #
  2. # Industrial I/O subsystem configuration
  3. #
  4. menuconfig IIO
  5. tristate "Industrial I/O support"
  6. depends on GENERIC_HARDIRQS
  7. help
  8. The industrial I/O subsystem provides a unified framework for
  9. drivers for many different types of embedded sensors using a
  10. number of different physical interfaces (i2c, spi, etc).
  11. if IIO
  12. config IIO_DEBUG
  13. boolean "Debug support for Industrial I/O"
  14. depends on DEBUG_KERNEL
  15. help
  16. Say "yes" to enable debug messaging (like dev_dbg and pr_debug)
  17. support in Industrial I/O subsystem and drivers.
  18. config IIO_BUFFER
  19. bool "Enable buffer support within IIO"
  20. help
  21. Provide core support for various buffer based data
  22. acquisition methods.
  23. if IIO_BUFFER
  24. config IIO_BUFFER_CB
  25. boolean "IIO callback buffer used for push in-kernel interfaces"
  26. help
  27. Should be selected by any drivers that do in-kernel push
  28. usage. That is, those where the data is pushed to the consumer.
  29. config IIO_KFIFO_BUF
  30. select IIO_TRIGGER
  31. tristate "Industrial I/O buffering based on kfifo"
  32. help
  33. A simple fifo based on kfifo. Note that this currently provides
  34. no buffer events so it is up to userspace to work out how
  35. often to read from the buffer.
  36. config IIO_TRIGGERED_BUFFER
  37. tristate
  38. select IIO_TRIGGER
  39. select IIO_KFIFO_BUF
  40. help
  41. Provides helper functions for setting up triggered buffers.
  42. endif # IIO_BUFFER
  43. config IIO_TRIGGER
  44. boolean "Enable triggered sampling support"
  45. help
  46. Provides IIO core support for triggers. Currently these
  47. are used to initialize capture of samples to push into
  48. buffers. The triggers are effectively a 'capture
  49. data now' interrupt.
  50. config IIO_CONSUMERS_PER_TRIGGER
  51. int "Maximum number of consumers per trigger"
  52. depends on IIO_TRIGGER
  53. default "2"
  54. help
  55. This value controls the maximum number of consumers that a
  56. given trigger may handle. Default is 2.
  57. source "drivers/iio/accel/Kconfig"
  58. source "drivers/iio/adc/Kconfig"
  59. source "drivers/iio/amplifiers/Kconfig"
  60. source "drivers/iio/common/Kconfig"
  61. source "drivers/iio/dac/Kconfig"
  62. source "drivers/iio/frequency/Kconfig"
  63. source "drivers/iio/gyro/Kconfig"
  64. source "drivers/iio/imu/Kconfig"
  65. source "drivers/iio/light/Kconfig"
  66. source "drivers/iio/magnetometer/Kconfig"
  67. if IIO_TRIGGER
  68. source "drivers/iio/trigger/Kconfig"
  69. endif #IIO_TRIGGER
  70. source "drivers/iio/pressure/Kconfig"
  71. endif # IIO