aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/trigger/Kconfig
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2011-02-07 11:05:46 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-09 14:56:42 -0800
commitf9a7e9b2f074218ef7e3afcdaa71f6804fd36c84 (patch)
tree10f625c016ec39d1245df83379a0b0a196950cc3 /drivers/staging/iio/trigger/Kconfig
parentstaging: ft1000: Remove unnecessary check in write_blk_fifo(). (diff)
downloadlinux-dev-f9a7e9b2f074218ef7e3afcdaa71f6804fd36c84.tar.xz
linux-dev-f9a7e9b2f074218ef7e3afcdaa71f6804fd36c84.zip
Staging: IIO: TRIGGER: New sysfs based trigger
This patch adds a new trigger that can be invoked by writing the sysfs file: trigger_now. This approach can be valuable during automated testing or in situations, where other trigger methods are not applicable. For example no RTC or spare GPIOs. Last but not least we can allow user space applications to produce triggers. IIO: TRIGGER: Apply review feedback by Greg Kroah-Hartman Changes since v1: Add sysfs documentation. Change license notice. Add module alias. Add more Kconfig help text Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/trigger/Kconfig')
-rw-r--r--drivers/staging/iio/trigger/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/staging/iio/trigger/Kconfig b/drivers/staging/iio/trigger/Kconfig
index d842a584a3af..3a82013e2b8b 100644
--- a/drivers/staging/iio/trigger/Kconfig
+++ b/drivers/staging/iio/trigger/Kconfig
@@ -18,4 +18,14 @@ config IIO_GPIO_TRIGGER
help
Provides support for using GPIO pins as IIO triggers.
+config IIO_SYSFS_TRIGGER
+ tristate "SYSFS trigger"
+ depends on SYSFS
+ help
+ Provides support for using SYSFS entry as IIO triggers.
+ If unsure, say N (but it's safe to say "Y").
+
+ To compile this driver as a module, choose M here: the
+ module will be called iio-trig-sysfs.
+
endif # IIO_TRIGGER