linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] iio: Documentation: Add trigger name attribute ABI documentation
@ 2015-08-06 11:17 Cristina Opriceana
  2015-08-06 12:00 ` Daniel Baluta
  0 siblings, 1 reply; 3+ messages in thread
From: Cristina Opriceana @ 2015-08-06 11:17 UTC (permalink / raw)
  To: jic23; +Cc: daniel.baluta, linux-api, linux-kernel, linux-iio

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>
---
Changes in v2:
 - deviceX to deviceY, to avoid confusion
 - clearer description

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

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


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

* Re: [PATCH v2] iio: Documentation: Add trigger name attribute ABI documentation
  2015-08-06 11:17 [PATCH v2] iio: Documentation: Add trigger name attribute ABI documentation Cristina Opriceana
@ 2015-08-06 12:00 ` Daniel Baluta
  2015-08-08 11:42   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Baluta @ 2015-08-06 12:00 UTC (permalink / raw)
  To: Cristina Opriceana
  Cc: Jonathan Cameron, Daniel Baluta, linux-api,
	Linux Kernel Mailing List, linux-iio@vger.kernel.org

On Thu, Aug 6, 2015 at 2:17 PM, Cristina Opriceana
<cristina.opriceana@gmail.com> wrote:
> 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>

> ---
> Changes in v2:
>  - deviceX to deviceY, to avoid confusion
>  - clearer description
>
>  Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs | 9 +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
> index 5235e6c..0c1e843 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
> +++ b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
> @@ -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.
> --
> 1.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2] iio: Documentation: Add trigger name attribute ABI documentation
  2015-08-06 12:00 ` Daniel Baluta
@ 2015-08-08 11:42   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2015-08-08 11:42 UTC (permalink / raw)
  To: Daniel Baluta, Cristina Opriceana
  Cc: linux-api, Linux Kernel Mailing List, linux-iio@vger.kernel.org

On 06/08/15 13:00, Daniel Baluta wrote:
> On Thu, Aug 6, 2015 at 2:17 PM, Cristina Opriceana
> <cristina.opriceana@gmail.com> wrote:
>> 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>
Applied.

Thanks,
> 
>> ---
>> Changes in v2:
>>  - deviceX to deviceY, to avoid confusion
>>  - clearer description
>>
>>  Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs | 9 +++++++++
>>  1 file changed, 9 insertions(+)
>>
>> diff --git a/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
>> index 5235e6c..0c1e843 100644
>> --- a/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
>> +++ b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
>> @@ -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.
>> --
>> 1.9.1
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-06 11:17 [PATCH v2] iio: Documentation: Add trigger name attribute ABI documentation Cristina Opriceana
2015-08-06 12:00 ` Daniel Baluta
2015-08-08 11:42   ` 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).