linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Documentation: iio-trig-sysfs: Add missing ABI
@ 2015-08-12 11:26 Cristina Opriceana
  2015-08-12 11:28 ` [PATCH 1/2] Documentation: iio-trig-sysfs: Document add_trigger attribute Cristina Opriceana
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Cristina Opriceana @ 2015-08-12 11:26 UTC (permalink / raw)
  To: jic23; +Cc: daniel.baluta, linux-iio, linux-api, linux-kernel

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(+)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] Documentation: iio-trig-sysfs: Document add_trigger attribute
  2015-08-12 11:26 [PATCH 0/2] Documentation: iio-trig-sysfs: Add missing ABI Cristina Opriceana
@ 2015-08-12 11:28 ` Cristina Opriceana
  2015-08-12 11:29 ` [PATCH 2/2] Documentation: iio-trig-sysfs: Add remove_trigger attribute ABI Cristina Opriceana
  2015-08-15 15:09 ` [PATCH 0/2] Documentation: iio-trig-sysfs: Add missing ABI Jonathan Cameron
  2 siblings, 0 replies; 4+ messages in thread
From: Cristina Opriceana @ 2015-08-12 11:28 UTC (permalink / raw)
  To: jic23; +Cc: daniel.baluta, linux-iio, linux-api, linux-kernel

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>
---
 Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
index 5235e6c..887aa92 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
+++ b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
@@ -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:	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.
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] Documentation: iio-trig-sysfs: Add remove_trigger attribute ABI
  2015-08-12 11:26 [PATCH 0/2] Documentation: iio-trig-sysfs: Add missing ABI Cristina Opriceana
  2015-08-12 11:28 ` [PATCH 1/2] Documentation: iio-trig-sysfs: Document add_trigger attribute Cristina Opriceana
@ 2015-08-12 11:29 ` Cristina Opriceana
  2015-08-15 15:09 ` [PATCH 0/2] Documentation: iio-trig-sysfs: Add missing ABI Jonathan Cameron
  2 siblings, 0 replies; 4+ messages in thread
From: Cristina Opriceana @ 2015-08-12 11:29 UTC (permalink / raw)
  To: jic23; +Cc: daniel.baluta, linux-iio, linux-api, linux-kernel

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

Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
---
 Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
index 887aa92..6de6e6b 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
+++ b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
@@ -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:	linux-iio@vger.kernel.org
+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.
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] Documentation: iio-trig-sysfs: Add missing ABI
  2015-08-12 11:26 [PATCH 0/2] Documentation: iio-trig-sysfs: Add missing ABI Cristina Opriceana
  2015-08-12 11:28 ` [PATCH 1/2] Documentation: iio-trig-sysfs: Document add_trigger attribute Cristina Opriceana
  2015-08-12 11:29 ` [PATCH 2/2] Documentation: iio-trig-sysfs: Add remove_trigger attribute ABI Cristina Opriceana
@ 2015-08-15 15:09 ` Jonathan Cameron
  2 siblings, 0 replies; 4+ messages in thread
From: Jonathan Cameron @ 2015-08-15 15:09 UTC (permalink / raw)
  To: Cristina Opriceana; +Cc: daniel.baluta, linux-iio, linux-api, linux-kernel

On 12/08/15 12:26, Cristina Opriceana wrote:
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-15 15:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-12 11:26 [PATCH 0/2] Documentation: iio-trig-sysfs: Add missing ABI Cristina Opriceana
2015-08-12 11:28 ` [PATCH 1/2] Documentation: iio-trig-sysfs: Document add_trigger attribute Cristina Opriceana
2015-08-12 11:29 ` [PATCH 2/2] Documentation: iio-trig-sysfs: Add remove_trigger attribute ABI Cristina Opriceana
2015-08-15 15:09 ` [PATCH 0/2] Documentation: iio-trig-sysfs: Add missing ABI Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).