Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1590363 > unrolled thread

[PATCH v1 1/2] iio: Generalize counting direction modes

Started byBenjamin Gaignard <benjamin.gaignard@linaro.org>
First post2017-03-01 15:50 +0100
Last post2017-03-05 12:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v1 1/2] iio: Generalize counting direction modes Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2017-03-01 15:50 +0100
    Re: [PATCH v1 1/2] iio: Generalize counting direction modes Jonathan Cameron <jic23@kernel.org> - 2017-03-05 12:20 +0100

#1590363 — [PATCH v1 1/2] iio: Generalize counting direction modes

FromBenjamin Gaignard <benjamin.gaignard@linaro.org>
Date2017-03-01 15:50 +0100
Subject[PATCH v1 1/2] iio: Generalize counting direction modes
Message-ID<tgdJL-4r7-3@gated-at.bofh.it>
Move counting direction documentation for 104-quad-8 to sysfs-bus-iio
to avoid duplicated for other incoming drivers

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
 Documentation/ABI/testing/sysfs-bus-iio                    | 14 ++++++++++++++
 Documentation/ABI/testing/sysfs-bus-iio-counter-104-quad-8 |  8 --------
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index b8f220f..b63723b 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -1597,3 +1597,17 @@ Description:
 		provides an absolute positional reference (e.g. a pulse once per
 		revolution) which may be used to home positional systems as
 		required.
+
+What:		/sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available
+KernelVersion:	4.12
+Contact:	linux-iio@vger.kernel.org
+Description:
+		A list of possible counting directions which are:
+		- "up"	: counter device is increasing.
+		- "down": counter device is decreasing.
+
+What:		/sys/bus/iio/devices/iio:deviceX/in_countY_count_direction
+KernelVersion:	4.12
+Contact:	linux-iio@vger.kernel.org
+Description:
+		Raw counter device counters direction for channel Y.
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-counter-104-quad-8 b/Documentation/ABI/testing/sysfs-bus-iio-counter-104-quad-8
index ba67652..322c8da 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio-counter-104-quad-8
+++ b/Documentation/ABI/testing/sysfs-bus-iio-counter-104-quad-8
@@ -1,4 +1,3 @@
-What:		/sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available
 What:		/sys/bus/iio/devices/iio:deviceX/in_count_count_mode_available
 What:		/sys/bus/iio/devices/iio:deviceX/in_count_noise_error_available
 What:		/sys/bus/iio/devices/iio:deviceX/in_count_quadrature_mode_available
@@ -10,13 +9,6 @@ Description:
 		Discrete set of available values for the respective counter
 		configuration are listed in this file.
 
-What:		/sys/bus/iio/devices/iio:deviceX/in_countY_count_direction
-KernelVersion:	4.9
-Contact:	linux-iio@vger.kernel.org
-Description:
-		Read-only attribute that indicates whether the counter for
-		channel Y is counting up or down.
-
 What:		/sys/bus/iio/devices/iio:deviceX/in_countY_count_mode
 KernelVersion:	4.9
 Contact:	linux-iio@vger.kernel.org
-- 
1.9.1

[toc] | [next] | [standalone]


#1592731

FromJonathan Cameron <jic23@kernel.org>
Date2017-03-05 12:20 +0100
Message-ID<thCmK-7RH-17@gated-at.bofh.it>
In reply to#1590363
On 01/03/17 14:45, Benjamin Gaignard wrote:
> Move counting direction documentation for 104-quad-8 to sysfs-bus-iio
> to avoid duplicated for other incoming drivers
> 
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Applied to the togreg branch of iio.git and pushed out as testing to
be completely ignored by the autobuilders.

Thanks,

Jonathan
> ---
>  Documentation/ABI/testing/sysfs-bus-iio                    | 14 ++++++++++++++
>  Documentation/ABI/testing/sysfs-bus-iio-counter-104-quad-8 |  8 --------
>  2 files changed, 14 insertions(+), 8 deletions(-)
> 
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> index b8f220f..b63723b 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -1597,3 +1597,17 @@ Description:
>  		provides an absolute positional reference (e.g. a pulse once per
>  		revolution) which may be used to home positional systems as
>  		required.
> +
> +What:		/sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available
> +KernelVersion:	4.12
> +Contact:	linux-iio@vger.kernel.org
> +Description:
> +		A list of possible counting directions which are:
> +		- "up"	: counter device is increasing.
> +		- "down": counter device is decreasing.
> +
> +What:		/sys/bus/iio/devices/iio:deviceX/in_countY_count_direction
> +KernelVersion:	4.12
> +Contact:	linux-iio@vger.kernel.org
> +Description:
> +		Raw counter device counters direction for channel Y.
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio-counter-104-quad-8 b/Documentation/ABI/testing/sysfs-bus-iio-counter-104-quad-8
> index ba67652..322c8da 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio-counter-104-quad-8
> +++ b/Documentation/ABI/testing/sysfs-bus-iio-counter-104-quad-8
> @@ -1,4 +1,3 @@
> -What:		/sys/bus/iio/devices/iio:deviceX/in_count_count_direction_available
>  What:		/sys/bus/iio/devices/iio:deviceX/in_count_count_mode_available
>  What:		/sys/bus/iio/devices/iio:deviceX/in_count_noise_error_available
>  What:		/sys/bus/iio/devices/iio:deviceX/in_count_quadrature_mode_available
> @@ -10,13 +9,6 @@ Description:
>  		Discrete set of available values for the respective counter
>  		configuration are listed in this file.
>  
> -What:		/sys/bus/iio/devices/iio:deviceX/in_countY_count_direction
> -KernelVersion:	4.9
> -Contact:	linux-iio@vger.kernel.org
> -Description:
> -		Read-only attribute that indicates whether the counter for
> -		channel Y is counting up or down.
> -
>  What:		/sys/bus/iio/devices/iio:deviceX/in_countY_count_mode
>  KernelVersion:	4.9
>  Contact:	linux-iio@vger.kernel.org
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web