Re: [PATCH v3 8/8] docs: iio: add precision about sampling_frequency_available

2019-07-09 Thread Fabien Lahoudere
Le samedi 22 juin 2019 à 11:21 +0100, Jonathan Cameron a écrit :
> On Tue, 18 Jun 2019 11:06:39 +0200
> Fabien Lahoudere  wrote:
> 
> > The documentation give some exemple on what format can be expected
> > from sampling_frequency_available sysfs attribute
> > 
> > Signed-off-by: Fabien Lahoudere 
> It seems I already applied this one, though probably haven't sent
> a pull request for it to Greg yet.
> 
> Please drop it from your v4 posting as otherwise I'll get confused
> (again).
> 

Sorry, it will be dropped next time.

> Thanks,
> 
> Jonathan
> 
> 
> > ---
> >  Documentation/ABI/testing/sysfs-bus-iio | 7 +--
> >  1 file changed, 5 insertions(+), 2 deletions(-)
> > 
> > diff --git a/Documentation/ABI/testing/sysfs-bus-iio
> > b/Documentation/ABI/testing/sysfs-bus-iio
> > index 6aef7dbbde44..680451695422 100644
> > --- a/Documentation/ABI/testing/sysfs-bus-iio
> > +++ b/Documentation/ABI/testing/sysfs-bus-iio
> > @@ -61,8 +61,11 @@ What:/sys/bus/iio/devices/triggerX/s
> > ampling_frequency_available
> >  KernelVersion: 2.6.35
> >  Contact:   linux-...@vger.kernel.org
> >  Description:
> > -   When the internal sampling clock can only take a small
> > -   discrete set of values, this file lists those
> > available.
> > +   When the internal sampling clock can only take a
> > specific set of
> > +   frequencies, we can specify the available values with:
> > +   - a small discrete set of values like "0 2 4 6 8"
> > +   - a range with minimum, step and maximum frequencies
> > like
> > + "[min step max]"
> >  
> >  What:  /sys/bus/iio/devices/iio:deviceX/oversampling_r
> > atio
> >  KernelVersion: 2.6.38



Re: [PATCH v3 8/8] docs: iio: add precision about sampling_frequency_available

2019-06-22 Thread Jonathan Cameron
On Tue, 18 Jun 2019 11:06:39 +0200
Fabien Lahoudere  wrote:

> The documentation give some exemple on what format can be expected
> from sampling_frequency_available sysfs attribute
> 
> Signed-off-by: Fabien Lahoudere 
It seems I already applied this one, though probably haven't sent
a pull request for it to Greg yet.

Please drop it from your v4 posting as otherwise I'll get confused
(again).

Thanks,

Jonathan


> ---
>  Documentation/ABI/testing/sysfs-bus-iio | 7 +--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio 
> b/Documentation/ABI/testing/sysfs-bus-iio
> index 6aef7dbbde44..680451695422 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -61,8 +61,11 @@ What:  
> /sys/bus/iio/devices/triggerX/sampling_frequency_available
>  KernelVersion:   2.6.35
>  Contact: linux-...@vger.kernel.org
>  Description:
> - When the internal sampling clock can only take a small
> - discrete set of values, this file lists those available.
> + When the internal sampling clock can only take a specific set of
> + frequencies, we can specify the available values with:
> + - a small discrete set of values like "0 2 4 6 8"
> + - a range with minimum, step and maximum frequencies like
> +   "[min step max]"
>  
>  What:/sys/bus/iio/devices/iio:deviceX/oversampling_ratio
>  KernelVersion:   2.6.38



[PATCH v3 8/8] docs: iio: add precision about sampling_frequency_available

2019-06-18 Thread Fabien Lahoudere
The documentation give some exemple on what format can be expected
from sampling_frequency_available sysfs attribute

Signed-off-by: Fabien Lahoudere 
---
 Documentation/ABI/testing/sysfs-bus-iio | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-bus-iio 
b/Documentation/ABI/testing/sysfs-bus-iio
index 6aef7dbbde44..680451695422 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -61,8 +61,11 @@ What:
/sys/bus/iio/devices/triggerX/sampling_frequency_available
 KernelVersion: 2.6.35
 Contact:   linux-...@vger.kernel.org
 Description:
-   When the internal sampling clock can only take a small
-   discrete set of values, this file lists those available.
+   When the internal sampling clock can only take a specific set of
+   frequencies, we can specify the available values with:
+   - a small discrete set of values like "0 2 4 6 8"
+   - a range with minimum, step and maximum frequencies like
+ "[min step max]"
 
 What:  /sys/bus/iio/devices/iio:deviceX/oversampling_ratio
 KernelVersion: 2.6.38
-- 
2.20.1