xref: /openbmc/linux/drivers/iio/trigger/Kconfig (revision 440b075b)
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_INTERRUPT_TRIGGER
20	tristate "Generic interrupt trigger"
21	help
22	  Provides support for using an interrupt of any type as an IIO
23	  trigger.  This may be provided by a gpio driver for example.
24
25	  To compile this driver as a module, choose M here: the
26	  module will be called iio-trig-interrupt.
27
28config IIO_STM32_LPTIMER_TRIGGER
29	tristate "STM32 Low-Power Timer Trigger"
30	depends on MFD_STM32_LPTIMER || COMPILE_TEST
31	help
32	  Select this option to enable STM32 Low-Power Timer Trigger.
33	  This can be used as trigger source for STM32 internal ADC
34	  and/or DAC.
35
36	  To compile this driver as a module, choose M here: the
37	  module will be called stm32-lptimer-trigger.
38
39config IIO_STM32_TIMER_TRIGGER
40	tristate "STM32 Timer Trigger"
41	depends on (ARCH_STM32 && MFD_STM32_TIMERS) || COMPILE_TEST
42	help
43	  Select this option to enable STM32 Timer Trigger
44
45	  To compile this driver as a module, choose M here: the
46	  module will be called stm32-timer-trigger.
47
48config IIO_TIGHTLOOP_TRIGGER
49	tristate "A kthread based hammering loop trigger"
50	depends on IIO_SW_TRIGGER
51	help
52	  An experimental trigger, used to allow sensors to be sampled as fast
53	  as possible under the limitations of whatever else is going on.
54	  Uses a tight loop in a kthread.  Will only work with lower half only
55	  trigger consumers.
56
57	  To compile this driver as a module, choose M here: the
58	  module will be called iio-trig-loop.
59
60config IIO_SYSFS_TRIGGER
61	tristate "SYSFS trigger"
62	depends on SYSFS
63	select IRQ_WORK
64	help
65	  Provides support for using SYSFS entries as IIO triggers.
66	  If unsure, say N (but it's safe to say "Y").
67
68	  To compile this driver as a module, choose M here: the
69	  module will be called iio-trig-sysfs.
70
71endmenu
72