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