xref: /openbmc/linux/drivers/iio/Kconfig (revision 415f7924)
1a980e046SJonathan Cameron#
2e58bf533SPeter Meerwald# Industrial I/O subsystem configuration
3a980e046SJonathan Cameron#
4a980e046SJonathan Cameron
5a980e046SJonathan Cameronmenuconfig IIO
6a980e046SJonathan Cameron	tristate "Industrial I/O support"
7cc8b49faSArnd Bergmann	select ANON_INODES
8a980e046SJonathan Cameron	help
9a980e046SJonathan Cameron	  The industrial I/O subsystem provides a unified framework for
10a980e046SJonathan Cameron	  drivers for many different types of embedded sensors using a
11a529ae4bSJiri Kosina	  number of different physical interfaces (i2c, spi, etc).
12a980e046SJonathan Cameron
13a980e046SJonathan Cameronif IIO
14a980e046SJonathan Cameron
15a980e046SJonathan Cameronconfig IIO_BUFFER
16a980e046SJonathan Cameron	bool "Enable buffer support within IIO"
17a980e046SJonathan Cameron	help
18a980e046SJonathan Cameron	  Provide core support for various buffer based data
19a980e046SJonathan Cameron	  acquisition methods.
20a980e046SJonathan Cameron
21a980e046SJonathan Cameronif IIO_BUFFER
228548a63bSLars-Peter Clausen	source "drivers/iio/buffer/Kconfig"
23a980e046SJonathan Cameronendif # IIO_BUFFER
24a980e046SJonathan Cameron
25a980e046SJonathan Cameronconfig IIO_TRIGGER
266341e62bSChristoph Jaeger	bool "Enable triggered sampling support"
27a980e046SJonathan Cameron	help
28a980e046SJonathan Cameron	  Provides IIO core support for triggers.  Currently these
29a980e046SJonathan Cameron	  are used to initialize capture of samples to push into
301b2bbe3eSPeter Meerwald	  buffers.  The triggers are effectively a 'capture
31a980e046SJonathan Cameron	  data now' interrupt.
32a980e046SJonathan Cameron
33a980e046SJonathan Cameronconfig IIO_CONSUMERS_PER_TRIGGER
34a980e046SJonathan Cameron       int "Maximum number of consumers per trigger"
35a980e046SJonathan Cameron       depends on IIO_TRIGGER
36a980e046SJonathan Cameron       default "2"
37a980e046SJonathan Cameron       help
38a980e046SJonathan Cameron	This value controls the maximum number of consumers that a
39a980e046SJonathan Cameron	given trigger may handle. Default is 2.
40a980e046SJonathan Cameron
41735ad074SVladimir Barinovconfig IIO_TRIGGERED_EVENT
42735ad074SVladimir Barinov	tristate
43735ad074SVladimir Barinov	select IIO_TRIGGER
44735ad074SVladimir Barinov	help
45735ad074SVladimir Barinov	  Provides helper functions for setting up triggered events.
46735ad074SVladimir Barinov
4745fe6f7dSsrinivas pandruvadasource "drivers/iio/accel/Kconfig"
480e589d5fSMaxime Ripardsource "drivers/iio/adc/Kconfig"
49e71d42e0SMichael Hennerichsource "drivers/iio/amplifiers/Kconfig"
50cd8d9777SMatt Ranostaysource "drivers/iio/chemical/Kconfig"
5173c6768bSsrinivas pandruvadasource "drivers/iio/common/Kconfig"
52ec04cb04SLars-Peter Clausensource "drivers/iio/dac/Kconfig"
53415f7924SCristina Opriceanasource "drivers/iio/dummy/Kconfig"
54ec04cb04SLars-Peter Clausensource "drivers/iio/frequency/Kconfig"
55c5bdbef7Ssrinivas pandruvadasource "drivers/iio/gyro/Kconfig"
56091a121bSHarald Geyersource "drivers/iio/humidity/Kconfig"
57ec04cb04SLars-Peter Clausensource "drivers/iio/imu/Kconfig"
58ec04cb04SLars-Peter Clausensource "drivers/iio/light/Kconfig"
59bc1d57baSsrinivas pandruvadasource "drivers/iio/magnetometer/Kconfig"
60098d3becSSrinivas Pandruvadasource "drivers/iio/orientation/Kconfig"
61e64e7d5cSJonathan Cameronif IIO_TRIGGER
62e64e7d5cSJonathan Cameron   source "drivers/iio/trigger/Kconfig"
63e64e7d5cSJonathan Cameronendif #IIO_TRIGGER
64c05dc2ccSPeter Rosinsource "drivers/iio/potentiometer/Kconfig"
65217494e5SDenis CIOCCAsource "drivers/iio/pressure/Kconfig"
6624ddb0e4SMatt Ranostaysource "drivers/iio/proximity/Kconfig"
67e5a63942SPeter Meerwaldsource "drivers/iio/temperature/Kconfig"
68e71d42e0SMichael Hennerich
69a980e046SJonathan Cameronendif # IIO
70