Subject: [PATCH v2] 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: Cristina Opriceana <[email protected]>
---
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: [email protected]
+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


2015-08-06 12:00:32

by Daniel Baluta

[permalink] [raw]
Subject: Re: [PATCH v2] iio: Documentation: Add trigger name attribute ABI documentation

On Thu, Aug 6, 2015 at 2:17 PM, Cristina Opriceana
<[email protected]> wrote:
> This patch adds an entry in ABI Documentation for the name attribute
> issued when a trigger is created.
>
> Signed-off-by: Cristina Opriceana <[email protected]>

Acked-by: Daniel Baluta <[email protected]>

> ---
> 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: [email protected]
> +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 [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

2015-08-08 11:42:38

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH v2] iio: Documentation: Add trigger name attribute ABI documentation

On 06/08/15 13:00, Daniel Baluta wrote:
> On Thu, Aug 6, 2015 at 2:17 PM, Cristina Opriceana
> <[email protected]> wrote:
>> This patch adds an entry in ABI Documentation for the name attribute
>> issued when a trigger is created.
>>
>> Signed-off-by: Cristina Opriceana <[email protected]>
>
> Acked-by: Daniel Baluta <[email protected]>
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: [email protected]
>> +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 [email protected]
>> 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 [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>