Skip to contentSkip to conversation

Documentation: iio-trig-sysfs: Add missing ABI

PATCH Applied Cristina Opriceana 2 participants 4 messages Aug 12, 2015 – Aug 15, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover Documentation: iio-trig-sysfs: Add missing ABI

Add the ABI documentation for the add_trigger and remove_trigger attributes, found in iio-trig-sysfs.

Cristina Opriceana (2):
Documentation: iio-trig-sysfs: Document add_trigger attribute
Documentation: iio-trig-sysfs: Add remove_trigger attribute ABI

 .../ABI/testing/sysfs-bus-iio-trigger-sysfs        | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/2 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.

---
 Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs | 11 +++++++++++
 1 file changed, 11 insertions(+)
Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs +11 -0
index 5235e6c..887aa92 100644
@@ -9,3 +9,14 @@ 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/iio_sysfs_trigger/add_trigger
+KernelVersion:	2.6.39
+Contact:	[email protected]
+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.
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/2 Documentation: iio-trig-sysfs: Add remove_trigger attribute ABI

In reply to Cristina Opriceana

This patch adds the documentation ABI for the remove_trigger attribute, provided by the iio-trig-sysfs stand-alone driver.

---
 Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs | 11 +++++++++++
 1 file changed, 11 insertions(+)
Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs +11 -0
index 887aa92..6de6e6b 100644
@@ -20,3 +20,14 @@ Description:
 		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.
+
+What:		/sys/bus/iio/devices/iio_sysfs_trigger/remove_trigger
+KernelVersion:	2.6.39
+Contact:	[email protected]
+Description:
+		This attribute is used to unregister and delete a previously
+		created trigger from the list of available triggers. In order to
+		achieve this, one should write a positive integer into the
+		associated file, representing the id of the trigger that needs
+		to be removed. If the trigger can't be found, an invalid
+		argument message will be returned to the user.
Signature · 1 line
1.9.1
maintainer Applied
#3 lore raw
In reply to Cristina Opriceana
Quoted 10 lines · Cristina Opriceana

Add the ABI documentation for the add_trigger and remove_trigger attributes, found in iio-trig-sysfs.

Cristina Opriceana (2):
Documentation: iio-trig-sysfs: Document add_trigger attribute
Documentation: iio-trig-sysfs: Add remove_trigger attribute ABI

 .../ABI/testing/sysfs-bus-iio-trigger-sysfs        | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

These two could easily have been one patch given their paired nature, but I don't care that much.

Applied to the togreg branch of iio.git (fuzz due to a pervious patch in there)

Thanks,

Jonathan