Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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: default avatarCristina Opriceana <cristina.opriceana@gmail.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 5d889abb
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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.