Commit 655665d6 authored by Cristina Opriceana's avatar Cristina Opriceana Committed by Jonathan Cameron
Browse files

iio: Documentation: Add trigger name attribute ABI documentation



This patch adds an entry in ABI Documentation for the name attribute
issued when a trigger is created.

Signed-off-by: default avatarCristina Opriceana <cristina.opriceana@gmail.com>
Acked-by: default avatarDaniel Baluta <daniel.baluta@intel.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent aab97877
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -9,3 +9,12 @@ Description:
		automated testing or in situations, where other trigger methods
		automated testing or in situations, where other trigger methods
		are not applicable. For example no RTC or spare GPIOs.
		are not applicable. For example no RTC or spare GPIOs.
		X is the IIO index of the trigger.
		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.