Kconfig 2.4 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
endif # IIO_BUFFER

25 26 27 28 29 30 31 32
config IIO_CONFIGFS
	tristate "Enable IIO configuration via configfs"
	select CONFIGFS_FS
	help
	  This allows configuring various IIO bits through configfs
	  (e.g. software triggers). For more info see
	  Documentation/iio/iio_configfs.txt.

33
config IIO_TRIGGER
34
	bool "Enable triggered sampling support"
35 36 37
	help
	  Provides IIO core support for triggers.  Currently these
	  are used to initialize capture of samples to push into
38
	  buffers.  The triggers are effectively a 'capture
39 40 41 42 43 44 45 46 47 48
	  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.

49 50 51 52 53 54 55 56
config IIO_SW_TRIGGER
	tristate "Enable software triggers support"
	select IIO_CONFIGFS
	help
	 Provides IIO core support for software triggers. A software
	 trigger can be created via configfs or directly by a driver
	 using the API provided.

V
Vladimir Barinov 已提交
57 58 59 60 61 62
config IIO_TRIGGERED_EVENT
	tristate
	select IIO_TRIGGER
	help
	  Provides helper functions for setting up triggered events.

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

85
endif # IIO