iio: Documentation: Add trigger name attribute ABI documentation
authorCristina Opriceana <cristina.opriceana@gmail.com>
Thu, 6 Aug 2015 11:17:53 +0000 (14:17 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sat, 8 Aug 2015 11:41:47 +0000 (12:41 +0100)
This patch adds an entry in ABI Documentation for the name attribute
issued when a trigger is created.

Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs

index 5235e6c749ab413657d93e7039d11670522b8bcf..bbb039237a2580307d614030ea5013b71f749f6f 100644 (file)
@@ -9,3 +9,12 @@ Description:
                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.
+
+What:          /sys/bus/iio/devices/triggerX/name
+KernelVersion: 2.6.39
+Contact:       linux-iio@vger.kernel.org
+Description:
+               The name attribute holds a description string for the current
+               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.