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