Commit 521dbebf authored by Benjamin Gaignard's avatar Benjamin Gaignard Committed by Jonathan Cameron

iio: Generalize counting direction modes

Move counting direction documentation for 104-quad-8 to sysfs-bus-iio
to avoid duplicated for other incoming drivers
Signed-off-by: default avatarBenjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 59d0f2da
...@@ -1609,3 +1609,17 @@ Description: ...@@ -1609,3 +1609,17 @@ Description:
provides an absolute positional reference (e.g. a pulse once per provides an absolute positional reference (e.g. a pulse once per
revolution) which may be used to home positional systems as revolution) which may be used to home positional systems as
required. 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.
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_count_mode_available
What: /sys/bus/iio/devices/iio:deviceX/in_count_noise_error_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 What: /sys/bus/iio/devices/iio:deviceX/in_count_quadrature_mode_available
...@@ -10,13 +9,6 @@ Description: ...@@ -10,13 +9,6 @@ Description:
Discrete set of available values for the respective counter Discrete set of available values for the respective counter
configuration are listed in this file. configuration are listed in this file.
What: /sys/bus/iio/devices/iio:deviceX/in_countY_count_direction
KernelVersion: 4.10
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 What: /sys/bus/iio/devices/iio:deviceX/in_countY_count_mode
KernelVersion: 4.10 KernelVersion: 4.10
Contact: linux-iio@vger.kernel.org Contact: linux-iio@vger.kernel.org
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment