mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
![Michael Hennerich](/assets/img/avatar_default.png)
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>
11 lines
534 B
Text
11 lines
534 B
Text
What: /sys/bus/iio/devices/triggerX/trigger_now
|
|
KernelVersion: 2.6.38
|
|
Contact: linux-iio@vger.kernel.org
|
|
Description:
|
|
This file is provided by the iio-trig-sysfs stand-alone trigger
|
|
driver. Writing this file with any value triggers an event
|
|
driven driver, associated with this trigger, to capture data
|
|
into an in kernel buffer. 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.
|
|
X is the IIO index of the trigger.
|