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