162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Industrial I/O standalone triggers
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci# When adding new entries keep the list in alphabetical order
662306a36Sopenharmony_ci
762306a36Sopenharmony_cimenu "Triggers - standalone"
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciconfig IIO_HRTIMER_TRIGGER
1062306a36Sopenharmony_ci	tristate "High resolution timer trigger"
1162306a36Sopenharmony_ci	depends on IIO_SW_TRIGGER
1262306a36Sopenharmony_ci	help
1362306a36Sopenharmony_ci	  Provides a frequency based IIO trigger using high resolution
1462306a36Sopenharmony_ci	  timers as interrupt source.
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
1762306a36Sopenharmony_ci	  module will be called iio-trig-hrtimer.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig IIO_INTERRUPT_TRIGGER
2062306a36Sopenharmony_ci	tristate "Generic interrupt trigger"
2162306a36Sopenharmony_ci	help
2262306a36Sopenharmony_ci	  Provides support for using an interrupt of any type as an IIO
2362306a36Sopenharmony_ci	  trigger.  This may be provided by a gpio driver for example.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
2662306a36Sopenharmony_ci	  module will be called iio-trig-interrupt.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciconfig IIO_STM32_LPTIMER_TRIGGER
2962306a36Sopenharmony_ci	tristate "STM32 Low-Power Timer Trigger"
3062306a36Sopenharmony_ci	depends on MFD_STM32_LPTIMER || COMPILE_TEST
3162306a36Sopenharmony_ci	help
3262306a36Sopenharmony_ci	  Select this option to enable STM32 Low-Power Timer Trigger.
3362306a36Sopenharmony_ci	  This can be used as trigger source for STM32 internal ADC
3462306a36Sopenharmony_ci	  and/or DAC.
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
3762306a36Sopenharmony_ci	  module will be called stm32-lptimer-trigger.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciconfig IIO_STM32_TIMER_TRIGGER
4062306a36Sopenharmony_ci	tristate "STM32 Timer Trigger"
4162306a36Sopenharmony_ci	depends on (ARCH_STM32 && MFD_STM32_TIMERS) || COMPILE_TEST
4262306a36Sopenharmony_ci	help
4362306a36Sopenharmony_ci	  Select this option to enable STM32 Timer Trigger
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
4662306a36Sopenharmony_ci	  module will be called stm32-timer-trigger.
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ciconfig IIO_TIGHTLOOP_TRIGGER
4962306a36Sopenharmony_ci	tristate "A kthread based hammering loop trigger"
5062306a36Sopenharmony_ci	depends on IIO_SW_TRIGGER
5162306a36Sopenharmony_ci	help
5262306a36Sopenharmony_ci	  An experimental trigger, used to allow sensors to be sampled as fast
5362306a36Sopenharmony_ci	  as possible under the limitations of whatever else is going on.
5462306a36Sopenharmony_ci	  Uses a tight loop in a kthread.  Will only work with lower half only
5562306a36Sopenharmony_ci	  trigger consumers.
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
5862306a36Sopenharmony_ci	  module will be called iio-trig-loop.
5962306a36Sopenharmony_ci
6062306a36Sopenharmony_ciconfig IIO_SYSFS_TRIGGER
6162306a36Sopenharmony_ci	tristate "SYSFS trigger"
6262306a36Sopenharmony_ci	depends on SYSFS
6362306a36Sopenharmony_ci	select IRQ_WORK
6462306a36Sopenharmony_ci	help
6562306a36Sopenharmony_ci	  Provides support for using SYSFS entries as IIO triggers.
6662306a36Sopenharmony_ci	  If unsure, say N (but it's safe to say "Y").
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
6962306a36Sopenharmony_ci	  module will be called iio-trig-sysfs.
7062306a36Sopenharmony_ci
7162306a36Sopenharmony_ciendmenu
72