Kconfig 2.1 KB

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