Blame view

drivers/iio/Kconfig 2.18 KB
a980e0460   Jonathan Cameron   IIO: Move the cor...
1
  #
e58bf5332   Peter Meerwald   iio: fix spelling...
2
  # Industrial I/O subsystem configuration
a980e0460   Jonathan Cameron   IIO: Move the cor...
3
4
5
6
  #
  
  menuconfig IIO
  	tristate "Industrial I/O support"
a980e0460   Jonathan Cameron   IIO: Move the cor...
7
8
9
  	help
  	  The industrial I/O subsystem provides a unified framework for
  	  drivers for many different types of embedded sensors using a
a529ae4ba   Jiri Kosina   iio: drop wrong r...
10
  	  number of different physical interfaces (i2c, spi, etc).
a980e0460   Jonathan Cameron   IIO: Move the cor...
11
12
13
14
15
16
17
18
19
20
  
  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
92d1079b2   Jonathan Cameron   staging:iio: add ...
21
22
23
  config IIO_BUFFER_CB
  boolean "IIO callback buffer used for push in-kernel interfaces"
  	help
93232cd56   Peter Meerwald   iio: fix Kconfig ...
24
  	  Should be selected by any drivers that do in-kernel push
92d1079b2   Jonathan Cameron   staging:iio: add ...
25
  	  usage.  That is, those where the data is pushed to the consumer.
a980e0460   Jonathan Cameron   IIO: Move the cor...
26
27
28
29
  config IIO_KFIFO_BUF
  	select IIO_TRIGGER
  	tristate "Industrial I/O buffering based on kfifo"
  	help
1b2bbe3e6   Peter Meerwald   iio: remove menti...
30
  	  A simple fifo based on kfifo.  Note that this currently provides
a980e0460   Jonathan Cameron   IIO: Move the cor...
31
32
  	  no buffer events so it is up to userspace to work out how
  	  often to read from the buffer.
23f2d735a   Lars-Peter Clausen   iio: Add helper f...
33
34
35
36
37
38
  config IIO_TRIGGERED_BUFFER
  	tristate
  	select IIO_TRIGGER
  	select IIO_KFIFO_BUF
  	help
  	  Provides helper functions for setting up triggered buffers.
a980e0460   Jonathan Cameron   IIO: Move the cor...
39
40
41
42
43
44
45
  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
1b2bbe3e6   Peter Meerwald   iio: remove menti...
46
  	  buffers.  The triggers are effectively a 'capture
a980e0460   Jonathan Cameron   IIO: Move the cor...
47
48
49
50
51
52
53
54
55
  	  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.
45fe6f7d0   srinivas pandruvada   iio: hid-sensors:...
56
  source "drivers/iio/accel/Kconfig"
0e589d5fb   Maxime Ripard   ARM: AT91: IIO: A...
57
  source "drivers/iio/adc/Kconfig"
e71d42e03   Michael Hennerich   iio: amplifiers: ...
58
  source "drivers/iio/amplifiers/Kconfig"
73c6768b7   srinivas pandruvada   iio: hid-sensors:...
59
  source "drivers/iio/common/Kconfig"
ec04cb048   Lars-Peter Clausen   staging:iio: Move...
60
61
  source "drivers/iio/dac/Kconfig"
  source "drivers/iio/frequency/Kconfig"
c5bdbef70   srinivas pandruvada   iio: hid-sensors:...
62
  source "drivers/iio/gyro/Kconfig"
091a121b0   Harald Geyer   iio: Add new driv...
63
  source "drivers/iio/humidity/Kconfig"
ec04cb048   Lars-Peter Clausen   staging:iio: Move...
64
65
  source "drivers/iio/imu/Kconfig"
  source "drivers/iio/light/Kconfig"
bc1d57ba0   srinivas pandruvada   iio: hid-sensors:...
66
  source "drivers/iio/magnetometer/Kconfig"
098d3becc   Srinivas Pandruvada   iio: hid-sensors:...
67
  source "drivers/iio/orientation/Kconfig"
e64e7d5c8   Jonathan Cameron   iio:trigger:sysfs...
68
69
70
  if IIO_TRIGGER
     source "drivers/iio/trigger/Kconfig"
  endif #IIO_TRIGGER
217494e5b   Denis CIOCCA   iio:pressure: Add...
71
  source "drivers/iio/pressure/Kconfig"
e5a639421   Peter Meerwald   iio: Add tmp006 I...
72
  source "drivers/iio/temperature/Kconfig"
e71d42e03   Michael Hennerich   iio: amplifiers: ...
73

a980e0460   Jonathan Cameron   IIO: Move the cor...
74
  endif # IIO