xref: /openbmc/linux/drivers/iio/Kconfig (revision 7ba9df54)
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
258261d961SDaniel Balutaconfig IIO_CONFIGFS
268261d961SDaniel Baluta	tristate "Enable IIO configuration via configfs"
278261d961SDaniel Baluta	select CONFIGFS_FS
288261d961SDaniel Baluta	help
298261d961SDaniel Baluta	  This allows configuring various IIO bits through configfs
308261d961SDaniel Baluta	  (e.g. software triggers). For more info see
318261d961SDaniel Baluta	  Documentation/iio/iio_configfs.txt.
328261d961SDaniel Baluta
33a980e046SJonathan Cameronconfig IIO_TRIGGER
346341e62bSChristoph Jaeger	bool "Enable triggered sampling support"
35a980e046SJonathan Cameron	help
36a980e046SJonathan Cameron	  Provides IIO core support for triggers.  Currently these
37a980e046SJonathan Cameron	  are used to initialize capture of samples to push into
381b2bbe3eSPeter Meerwald	  buffers.  The triggers are effectively a 'capture
39a980e046SJonathan Cameron	  data now' interrupt.
40a980e046SJonathan Cameron
41a980e046SJonathan Cameronconfig IIO_CONSUMERS_PER_TRIGGER
42a980e046SJonathan Cameron       int "Maximum number of consumers per trigger"
43a980e046SJonathan Cameron       depends on IIO_TRIGGER
44a980e046SJonathan Cameron       default "2"
45a980e046SJonathan Cameron       help
46a980e046SJonathan Cameron	This value controls the maximum number of consumers that a
47a980e046SJonathan Cameron	given trigger may handle. Default is 2.
48a980e046SJonathan Cameron
490f3a8c3fSDaniel Balutaconfig IIO_SW_DEVICE
500f3a8c3fSDaniel Baluta	tristate "Enable software IIO device support"
510f3a8c3fSDaniel Baluta	select IIO_CONFIGFS
520f3a8c3fSDaniel Baluta	help
530f3a8c3fSDaniel Baluta	 Provides IIO core support for software devices. A software
540f3a8c3fSDaniel Baluta	 device can be created via configfs or directly by a driver
550f3a8c3fSDaniel Baluta	 using the API provided.
560f3a8c3fSDaniel Baluta
57b662f809SDaniel Balutaconfig IIO_SW_TRIGGER
58b662f809SDaniel Baluta	tristate "Enable software triggers support"
59b662f809SDaniel Baluta	select IIO_CONFIGFS
60b662f809SDaniel Baluta	help
61b662f809SDaniel Baluta	 Provides IIO core support for software triggers. A software
62b662f809SDaniel Baluta	 trigger can be created via configfs or directly by a driver
63b662f809SDaniel Baluta	 using the API provided.
64b662f809SDaniel Baluta
65735ad074SVladimir Barinovconfig IIO_TRIGGERED_EVENT
66735ad074SVladimir Barinov	tristate
67735ad074SVladimir Barinov	select IIO_TRIGGER
68735ad074SVladimir Barinov	help
69735ad074SVladimir Barinov	  Provides helper functions for setting up triggered events.
70735ad074SVladimir Barinov
7145fe6f7dSsrinivas pandruvadasource "drivers/iio/accel/Kconfig"
720e589d5fSMaxime Ripardsource "drivers/iio/adc/Kconfig"
73e71d42e0SMichael Hennerichsource "drivers/iio/amplifiers/Kconfig"
74cd8d9777SMatt Ranostaysource "drivers/iio/chemical/Kconfig"
7573c6768bSsrinivas pandruvadasource "drivers/iio/common/Kconfig"
7628e5d3bbSWilliam Breathitt Graysource "drivers/iio/counter/Kconfig"
77ec04cb04SLars-Peter Clausensource "drivers/iio/dac/Kconfig"
78415f7924SCristina Opriceanasource "drivers/iio/dummy/Kconfig"
79ec04cb04SLars-Peter Clausensource "drivers/iio/frequency/Kconfig"
80c5bdbef7Ssrinivas pandruvadasource "drivers/iio/gyro/Kconfig"
814d33615dSMatt Ranostaysource "drivers/iio/health/Kconfig"
82091a121bSHarald Geyersource "drivers/iio/humidity/Kconfig"
83ec04cb04SLars-Peter Clausensource "drivers/iio/imu/Kconfig"
84ec04cb04SLars-Peter Clausensource "drivers/iio/light/Kconfig"
85bc1d57baSsrinivas pandruvadasource "drivers/iio/magnetometer/Kconfig"
867ba9df54SPeter Rosinsource "drivers/iio/multiplexer/Kconfig"
87098d3becSSrinivas Pandruvadasource "drivers/iio/orientation/Kconfig"
88e64e7d5cSJonathan Cameronif IIO_TRIGGER
89e64e7d5cSJonathan Cameron   source "drivers/iio/trigger/Kconfig"
90e64e7d5cSJonathan Cameronendif #IIO_TRIGGER
91c05dc2ccSPeter Rosinsource "drivers/iio/potentiometer/Kconfig"
9267e17300SMatt Ranostaysource "drivers/iio/potentiostat/Kconfig"
93217494e5SDenis CIOCCAsource "drivers/iio/pressure/Kconfig"
9424ddb0e4SMatt Ranostaysource "drivers/iio/proximity/Kconfig"
95e5a63942SPeter Meerwaldsource "drivers/iio/temperature/Kconfig"
96e71d42e0SMichael Hennerich
97a980e046SJonathan Cameronendif # IIO
98