xref: /linux/drivers/iio/trigger/Kconfig (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2e64e7d5cSJonathan Cameron#
3e64e7d5cSJonathan Cameron# Industrial I/O standalone triggers
4e64e7d5cSJonathan Cameron#
53edc84e6SLars-Peter Clausen# When adding new entries keep the list in alphabetical order
63edc84e6SLars-Peter Clausen
7e64e7d5cSJonathan Cameronmenu "Triggers - standalone"
8e64e7d5cSJonathan Cameron
9ac5006a2SDaniel Balutaconfig IIO_HRTIMER_TRIGGER
10ac5006a2SDaniel Baluta	tristate "High resolution timer trigger"
11ac5006a2SDaniel Baluta	depends on IIO_SW_TRIGGER
12ac5006a2SDaniel Baluta	help
13ac5006a2SDaniel Baluta	  Provides a frequency based IIO trigger using high resolution
14ac5006a2SDaniel Baluta	  timers as interrupt source.
15ac5006a2SDaniel Baluta
16ac5006a2SDaniel Baluta	  To compile this driver as a module, choose M here: the
17ac5006a2SDaniel Baluta	  module will be called iio-trig-hrtimer.
18ac5006a2SDaniel Baluta
19c7a8be08SJonathan Cameronconfig IIO_INTERRUPT_TRIGGER
20c7a8be08SJonathan Cameron	tristate "Generic interrupt trigger"
21c7a8be08SJonathan Cameron	help
22c7a8be08SJonathan Cameron	  Provides support for using an interrupt of any type as an IIO
23c7a8be08SJonathan Cameron	  trigger.  This may be provided by a gpio driver for example.
24c7a8be08SJonathan Cameron
25c7a8be08SJonathan Cameron	  To compile this driver as a module, choose M here: the
26c7a8be08SJonathan Cameron	  module will be called iio-trig-interrupt.
27c7a8be08SJonathan Cameron
28b01ced2bSFabrice Gasnierconfig IIO_STM32_LPTIMER_TRIGGER
29b01ced2bSFabrice Gasnier	tristate "STM32 Low-Power Timer Trigger"
30b01ced2bSFabrice Gasnier	depends on MFD_STM32_LPTIMER || COMPILE_TEST
31b01ced2bSFabrice Gasnier	help
32b01ced2bSFabrice Gasnier	  Select this option to enable STM32 Low-Power Timer Trigger.
33b01ced2bSFabrice Gasnier	  This can be used as trigger source for STM32 internal ADC
34b01ced2bSFabrice Gasnier	  and/or DAC.
35b01ced2bSFabrice Gasnier
36b01ced2bSFabrice Gasnier	  To compile this driver as a module, choose M here: the
37b01ced2bSFabrice Gasnier	  module will be called stm32-lptimer-trigger.
38b01ced2bSFabrice Gasnier
3993fbe91bSBenjamin Gaignardconfig IIO_STM32_TIMER_TRIGGER
4093fbe91bSBenjamin Gaignard	tristate "STM32 Timer Trigger"
41*150ba97fSAndy Shevchenko	depends on (ARCH_STM32 && MFD_STM32_TIMERS) || COMPILE_TEST
4293fbe91bSBenjamin Gaignard	help
4393fbe91bSBenjamin Gaignard	  Select this option to enable STM32 Timer Trigger
4493fbe91bSBenjamin Gaignard
4593fbe91bSBenjamin Gaignard	  To compile this driver as a module, choose M here: the
4693fbe91bSBenjamin Gaignard	  module will be called stm32-timer-trigger.
4793fbe91bSBenjamin Gaignard
48bc2e1126SJonathan Cameronconfig IIO_TIGHTLOOP_TRIGGER
49bc2e1126SJonathan Cameron	tristate "A kthread based hammering loop trigger"
50bc2e1126SJonathan Cameron	depends on IIO_SW_TRIGGER
51bc2e1126SJonathan Cameron	help
52bc2e1126SJonathan Cameron	  An experimental trigger, used to allow sensors to be sampled as fast
53bc2e1126SJonathan Cameron	  as possible under the limitations of whatever else is going on.
54bc2e1126SJonathan Cameron	  Uses a tight loop in a kthread.  Will only work with lower half only
55bc2e1126SJonathan Cameron	  trigger consumers.
56bc2e1126SJonathan Cameron
57bc2e1126SJonathan Cameron	  To compile this driver as a module, choose M here: the
58bc2e1126SJonathan Cameron	  module will be called iio-trig-loop.
59bc2e1126SJonathan Cameron
60e64e7d5cSJonathan Cameronconfig IIO_SYSFS_TRIGGER
61e64e7d5cSJonathan Cameron	tristate "SYSFS trigger"
62e64e7d5cSJonathan Cameron	depends on SYSFS
63e64e7d5cSJonathan Cameron	select IRQ_WORK
64e64e7d5cSJonathan Cameron	help
6593232cd5SPeter Meerwald	  Provides support for using SYSFS entries as IIO triggers.
66e64e7d5cSJonathan Cameron	  If unsure, say N (but it's safe to say "Y").
67e64e7d5cSJonathan Cameron
68e64e7d5cSJonathan Cameron	  To compile this driver as a module, choose M here: the
69e64e7d5cSJonathan Cameron	  module will be called iio-trig-sysfs.
70e64e7d5cSJonathan Cameron
71e64e7d5cSJonathan Cameronendmenu
72