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