Staging: IIO: TRIGGER: New sysfs based trigger
authorMichael Hennerich <michael.hennerich@analog.com>
Mon, 7 Feb 2011 10:05:46 +0000 (11:05 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Feb 2011 22:56:42 +0000 (14:56 -0800)
commitf9a7e9b2f074218ef7e3afcdaa71f6804fd36c84
tree10f625c016ec39d1245df83379a0b0a196950cc3
parentbcd2d92e62254320d012c8e879d651eeaa350661
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>
drivers/staging/iio/Documentation/sysfs-bus-iio-trigger-sysfs [new file with mode: 0644]
drivers/staging/iio/trigger/Kconfig
drivers/staging/iio/trigger/Makefile
drivers/staging/iio/trigger/iio-trig-sysfs.c [new file with mode: 0644]