xref: /linux/drivers/iio/trigger/Kconfig (revision db95bd7933c6c5c033f468ce70332e6e7bb9f7c5)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Industrial I/O standalone triggers
4#
5# When adding new entries keep the list in alphabetical order
6
7menu "Triggers - standalone"
8
9config IIO_HRTIMER_TRIGGER
10	tristate "High resolution timer trigger"
11	depends on IIO_SW_TRIGGER
12	help
13	  Provides a frequency based IIO trigger using high resolution
14	  timers as interrupt source.
15
16	  To compile this driver as a module, choose M here: the
17	  module will be called iio-trig-hrtimer.
18
19config IIO_STM32_LPTIMER_TRIGGER
20	tristate "STM32 Low-Power Timer Trigger"
21	depends on MFD_STM32_LPTIMER || COMPILE_TEST
22	help
23	  Select this option to enable STM32 Low-Power Timer Trigger.
24	  This can be used as trigger source for STM32 internal ADC
25	  and/or DAC.
26
27	  To compile this driver as a module, choose M here: the
28	  module will be called stm32-lptimer-trigger.
29
30config IIO_STM32_TIMER_TRIGGER
31	tristate "STM32 Timer Trigger"
32	depends on (ARCH_STM32 && MFD_STM32_TIMERS) || COMPILE_TEST
33	help
34	  Select this option to enable STM32 Timer Trigger
35
36	  To compile this driver as a module, choose M here: the
37	  module will be called stm32-timer-trigger.
38
39config IIO_TIGHTLOOP_TRIGGER
40	tristate "A kthread based hammering loop trigger"
41	depends on IIO_SW_TRIGGER
42	help
43	  An experimental trigger, used to allow sensors to be sampled as fast
44	  as possible under the limitations of whatever else is going on.
45	  Uses a tight loop in a kthread.  Will only work with lower half only
46	  trigger consumers.
47
48	  To compile this driver as a module, choose M here: the
49	  module will be called iio-trig-loop.
50
51config IIO_SYSFS_TRIGGER
52	tristate "SYSFS trigger"
53	depends on SYSFS
54	select IRQ_WORK
55	help
56	  Provides support for using SYSFS entries as IIO triggers.
57	  If unsure, say N (but it's safe to say "Y").
58
59	  To compile this driver as a module, choose M here: the
60	  module will be called iio-trig-sysfs.
61
62endmenu
63