@@ -203,6 +203,19 @@ Description:
both edges:
Any state transition.
+What: /sys/bus/counter/devices/counterX/countY/num_overflows
+KernelVersion: 6.0
+Contact: jpanis@baylibre.com
+Description:
+ This attribute indicates the number of overflows since count Y start.
+
+What: /sys/bus/counter/devices/counterX/countY/captureZ
+KernelVersion: 6.0
+Contact: jpanis@baylibre.com
+Description:
+ This read-only attributes is a historical capture of the Count Y count data
+ where Z (if present) is the respective capture buffer element offset.
+
What: /sys/bus/counter/devices/counterX/countY/ceiling_component_id
What: /sys/bus/counter/devices/counterX/countY/floor_component_id
What: /sys/bus/counter/devices/counterX/countY/count_mode_component_id
@@ -213,11 +226,15 @@ What: /sys/bus/counter/devices/counterX/countY/prescaler_component_id
What: /sys/bus/counter/devices/counterX/countY/preset_component_id
What: /sys/bus/counter/devices/counterX/countY/preset_enable_component_id
What: /sys/bus/counter/devices/counterX/countY/signalZ_action_component_id
+What: /sys/bus/counter/devices/counterX/countY/num_overflows_component_id
+What: /sys/bus/counter/devices/counterX/countY/captureZ_component_id
What: /sys/bus/counter/devices/counterX/signalY/cable_fault_component_id
What: /sys/bus/counter/devices/counterX/signalY/cable_fault_enable_component_id
What: /sys/bus/counter/devices/counterX/signalY/filter_clock_prescaler_component_id
What: /sys/bus/counter/devices/counterX/signalY/index_polarity_component_id
What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode_component_id
+What: /sys/bus/counter/devices/counterX/signalY/polarityZ_component_id
+What: /sys/bus/counter/devices/counterX/signalY/frequency_component_id
KernelVersion: 5.16
Contact: linux-iio@vger.kernel.org
Description:
@@ -345,3 +362,31 @@ Description:
via index_polarity. The index function (as enabled via
preset_enable) is performed synchronously with the
quadrature clock on the active level of the index input.
+
+What: /sys/bus/counter/devices/counterX/signalY/polarityZ
+KernelVersion: 6.0
+Contact: jpanis@baylibre.com
+Description:
+ Select the signal Y edge polarity where Z (if present) is the
+ respective polarity sequence position. The following polarities
+ are available:
+
+ rising edge:
+ Low state transitions to high state.
+
+ falling edge:
+ High state transitions to low state.
+
+What: /sys/bus/counter/devices/counterX/signalY/polarityZ_available
+KernelVersion: 6.0
+Contact: jpanis@baylibre.com
+Description:
+ Discrete set of available values for the respective polarity Z
+ configuration are listed in this file. Values are delimited by
+ newline characters.
+
+What: /sys/bus/counter/devices/counterX/signalY/frequency
+KernelVersion: 6.0
+Contact: jpanis@baylibre.com
+Description:
+ Read-only attribute that indicates the signal Y frequency, in Hz.
This commit adds capture items to counter ABI file (e.g. TI ECAP used in capture operating mode). Signed-off-by: Julien Panis <jpanis@baylibre.com> --- Documentation/ABI/testing/sysfs-bus-counter | 45 +++++++++++++++++++++ 1 file changed, 45 insertions(+)