xref: /openbmc/linux/drivers/iio/trigger/Kconfig (revision bc2e1126)
1e64e7d5cSJonathan Cameron#
2e64e7d5cSJonathan Cameron# Industrial I/O standalone triggers
3e64e7d5cSJonathan Cameron#
43edc84e6SLars-Peter Clausen# When adding new entries keep the list in alphabetical order
53edc84e6SLars-Peter Clausen
6e64e7d5cSJonathan Cameronmenu "Triggers - standalone"
7e64e7d5cSJonathan Cameron
8ac5006a2SDaniel Balutaconfig IIO_HRTIMER_TRIGGER
9ac5006a2SDaniel Baluta	tristate "High resolution timer trigger"
10ac5006a2SDaniel Baluta	depends on IIO_SW_TRIGGER
11ac5006a2SDaniel Baluta	help
12ac5006a2SDaniel Baluta	  Provides a frequency based IIO trigger using high resolution
13ac5006a2SDaniel Baluta	  timers as interrupt source.
14ac5006a2SDaniel Baluta
15ac5006a2SDaniel Baluta	  To compile this driver as a module, choose M here: the
16ac5006a2SDaniel Baluta	  module will be called iio-trig-hrtimer.
17ac5006a2SDaniel Baluta
18c7a8be08SJonathan Cameronconfig IIO_INTERRUPT_TRIGGER
19c7a8be08SJonathan Cameron	tristate "Generic interrupt trigger"
20c7a8be08SJonathan Cameron	help
21c7a8be08SJonathan Cameron	  Provides support for using an interrupt of any type as an IIO
22c7a8be08SJonathan Cameron	  trigger.  This may be provided by a gpio driver for example.
23c7a8be08SJonathan Cameron
24c7a8be08SJonathan Cameron	  To compile this driver as a module, choose M here: the
25c7a8be08SJonathan Cameron	  module will be called iio-trig-interrupt.
26c7a8be08SJonathan Cameron
27*bc2e1126SJonathan Cameronconfig IIO_TIGHTLOOP_TRIGGER
28*bc2e1126SJonathan Cameron	tristate "A kthread based hammering loop trigger"
29*bc2e1126SJonathan Cameron	depends on IIO_SW_TRIGGER
30*bc2e1126SJonathan Cameron	help
31*bc2e1126SJonathan Cameron	  An experimental trigger, used to allow sensors to be sampled as fast
32*bc2e1126SJonathan Cameron	  as possible under the limitations of whatever else is going on.
33*bc2e1126SJonathan Cameron	  Uses a tight loop in a kthread.  Will only work with lower half only
34*bc2e1126SJonathan Cameron	  trigger consumers.
35*bc2e1126SJonathan Cameron
36*bc2e1126SJonathan Cameron	  To compile this driver as a module, choose M here: the
37*bc2e1126SJonathan Cameron	  module will be called iio-trig-loop.
38*bc2e1126SJonathan Cameron
39e64e7d5cSJonathan Cameronconfig IIO_SYSFS_TRIGGER
40e64e7d5cSJonathan Cameron	tristate "SYSFS trigger"
41e64e7d5cSJonathan Cameron	depends on SYSFS
42e64e7d5cSJonathan Cameron	select IRQ_WORK
43e64e7d5cSJonathan Cameron	help
4493232cd5SPeter Meerwald	  Provides support for using SYSFS entries as IIO triggers.
45e64e7d5cSJonathan Cameron	  If unsure, say N (but it's safe to say "Y").
46e64e7d5cSJonathan Cameron
47e64e7d5cSJonathan Cameron	  To compile this driver as a module, choose M here: the
48e64e7d5cSJonathan Cameron	  module will be called iio-trig-sysfs.
49e64e7d5cSJonathan Cameron
50e64e7d5cSJonathan Cameronendmenu
51