Kconfig 1.8 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

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
22
	source "drivers/iio/buffer/Kconfig"
23 24 25
endif # IIO_BUFFER

config IIO_TRIGGER
26
	bool "Enable triggered sampling support"
27 28 29
	help
	  Provides IIO core support for triggers.  Currently these
	  are used to initialize capture of samples to push into
30
	  buffers.  The triggers are effectively a 'capture
31 32 33 34 35 36 37 38 39 40
	  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.

V
Vladimir Barinov 已提交
41 42 43 44 45 46
config IIO_TRIGGERED_EVENT
	tristate
	select IIO_TRIGGER
	help
	  Provides helper functions for setting up triggered events.

47
source "drivers/iio/accel/Kconfig"
48
source "drivers/iio/adc/Kconfig"
49
source "drivers/iio/amplifiers/Kconfig"
50
source "drivers/iio/common/Kconfig"
51 52
source "drivers/iio/dac/Kconfig"
source "drivers/iio/frequency/Kconfig"
53
source "drivers/iio/gyro/Kconfig"
H
Harald Geyer 已提交
54
source "drivers/iio/humidity/Kconfig"
55 56
source "drivers/iio/imu/Kconfig"
source "drivers/iio/light/Kconfig"
57
source "drivers/iio/magnetometer/Kconfig"
58
source "drivers/iio/orientation/Kconfig"
59 60 61
if IIO_TRIGGER
   source "drivers/iio/trigger/Kconfig"
endif #IIO_TRIGGER
62
source "drivers/iio/pressure/Kconfig"
63
source "drivers/iio/proximity/Kconfig"
64
source "drivers/iio/temperature/Kconfig"
65

66
endif # IIO