summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing
diff options
context:
space:
mode:
authorCristina Opriceana <cristina.opriceana@gmail.com>2015-08-12 14:28:34 +0300
committerJonathan Cameron <jic23@kernel.org>2015-08-16 10:51:23 +0100
commite0950d3b9e88051082f7d5a60a0f8156285cbb6d (patch)
tree39566fd52144b8ee4dae2d04261f99d5abb61111 /Documentation/ABI/testing
parent5d889abbe5c39c0c9ebe468dbcab2688324a33fc (diff)
downloadop-kernel-dev-e0950d3b9e88051082f7d5a60a0f8156285cbb6d.zip
op-kernel-dev-e0950d3b9e88051082f7d5a60a0f8156285cbb6d.tar.gz
Documentation: iio-trig-sysfs: Document add_trigger attribute
This patch adds the ABI documentation for the add_trigger attribute, which is provided by the iio-trig-sysfs stand-alone driver. Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/ABI/testing')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
index bbb0392..76698d2 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
+++ b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
@@ -18,3 +18,14 @@ Description:
trigger. In order to associate the trigger with an IIO device
one should write this name string to
/sys/bus/iio/devices/iio:deviceY/trigger/current_trigger.
+
+What: /sys/bus/iio/devices/iio_sysfs_trigger/add_trigger
+KernelVersion: 2.6.39
+Contact: linux-iio@vger.kernel.org
+Description:
+ This attribute is provided by the iio-trig-sysfs stand-alone
+ driver and it is used to activate the creation of a new trigger.
+ In order to achieve this, one should write a positive integer
+ into the associated file, which will serve as the id of the
+ trigger. If the trigger with the specified id is already present
+ in the system, an invalid argument message will be returned.
OpenPOWER on IntegriCloud