Kconfig 2.2 KB
Newer Older
1
#
P
Peter Meerwald 已提交
2
# Industrial I/O subsystem configuration
3 4 5 6
#

menuconfig IIO
	tristate "Industrial I/O support"
A
Arnd Bergmann 已提交
7
	select ANON_INODES
8 9 10
	help
	  The industrial I/O subsystem provides a unified framework for
	  drivers for many different types of embedded sensors using a
11
	  number of different physical interfaces (i2c, spi, etc).
12 13 14 15 16 17 18 19 20 21 22

if IIO

config IIO_BUFFER
	bool "Enable buffer support within IIO"
	help
	  Provide core support for various buffer based data
	  acquisition methods.

if IIO_BUFFER

23 24 25
config IIO_BUFFER_CB
boolean "IIO callback buffer used for push in-kernel interfaces"
	help
P
Peter Meerwald 已提交
26
	  Should be selected by any drivers that do in-kernel push
27 28
	  usage.  That is, those where the data is pushed to the consumer.

29 30 31 32
config IIO_KFIFO_BUF
	select IIO_TRIGGER
	tristate "Industrial I/O buffering based on kfifo"
	help
33
	  A simple fifo based on kfifo.  Note that this currently provides
34 35 36
	  no buffer events so it is up to userspace to work out how
	  often to read from the buffer.

37 38 39 40 41 42 43
config IIO_TRIGGERED_BUFFER
	tristate
	select IIO_TRIGGER
	select IIO_KFIFO_BUF
	help
	  Provides helper functions for setting up triggered buffers.

44 45 46 47 48 49 50
endif # IIO_BUFFER

config IIO_TRIGGER
	boolean "Enable triggered sampling support"
	help
	  Provides IIO core support for triggers.  Currently these
	  are used to initialize capture of samples to push into
51
	  buffers.  The triggers are effectively a 'capture
52 53 54 55 56 57 58 59 60 61
	  data now' interrupt.

config IIO_CONSUMERS_PER_TRIGGER
       int "Maximum number of consumers per trigger"
       depends on IIO_TRIGGER
       default "2"
       help
	This value controls the maximum number of consumers that a
	given trigger may handle. Default is 2.

62
source "drivers/iio/accel/Kconfig"
63
source "drivers/iio/adc/Kconfig"
64
source "drivers/iio/amplifiers/Kconfig"
65
source "drivers/iio/common/Kconfig"
66 67
source "drivers/iio/dac/Kconfig"
source "drivers/iio/frequency/Kconfig"
68
source "drivers/iio/gyro/Kconfig"
H
Harald Geyer 已提交
69
source "drivers/iio/humidity/Kconfig"
70 71
source "drivers/iio/imu/Kconfig"
source "drivers/iio/light/Kconfig"
72
source "drivers/iio/magnetometer/Kconfig"
73
source "drivers/iio/orientation/Kconfig"
74 75 76
if IIO_TRIGGER
   source "drivers/iio/trigger/Kconfig"
endif #IIO_TRIGGER
77
source "drivers/iio/pressure/Kconfig"
78
source "drivers/iio/proximity/Kconfig"
79
source "drivers/iio/temperature/Kconfig"
80

81
endif # IIO