Skip to content

Commit 5a47aed

Browse files
jpanisblgregkh
authored andcommitted
Documentation: ABI: sysfs-bus-counter: add frequency & num_overflows items
This commit adds frequency and num_overflows items to counter ABI file (e.g. for TI ECAP hardware used in capture operating mode). Signed-off-by: Julien Panis <[email protected]> Link: https://lore.kernel.org/r/[email protected]/ Signed-off-by: William Breathitt Gray <[email protected]> Link: https://lore.kernel.org/r/467ae80e97c586c6bc9c453c6156ffcb5d4853d6.1664318353.git.william.gray@linaro.org Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent b5bee6c commit 5a47aed

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Documentation/ABI/testing/sysfs-bus-counter

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,12 @@ Description:
209209
both edges:
210210
Any state transition.
211211

212+
What: /sys/bus/counter/devices/counterX/countY/num_overflows
213+
KernelVersion: 6.1
214+
215+
Description:
216+
This attribute indicates the number of overflows of count Y.
217+
212218
What: /sys/bus/counter/devices/counterX/countY/capture_component_id
213219
What: /sys/bus/counter/devices/counterX/countY/ceiling_component_id
214220
What: /sys/bus/counter/devices/counterX/countY/floor_component_id
@@ -220,12 +226,14 @@ What: /sys/bus/counter/devices/counterX/countY/prescaler_component_id
220226
What: /sys/bus/counter/devices/counterX/countY/preset_component_id
221227
What: /sys/bus/counter/devices/counterX/countY/preset_enable_component_id
222228
What: /sys/bus/counter/devices/counterX/countY/signalZ_action_component_id
229+
What: /sys/bus/counter/devices/counterX/countY/num_overflows_component_id
223230
What: /sys/bus/counter/devices/counterX/signalY/cable_fault_component_id
224231
What: /sys/bus/counter/devices/counterX/signalY/cable_fault_enable_component_id
225232
What: /sys/bus/counter/devices/counterX/signalY/filter_clock_prescaler_component_id
226233
What: /sys/bus/counter/devices/counterX/signalY/index_polarity_component_id
227234
What: /sys/bus/counter/devices/counterX/signalY/polarity_component_id
228235
What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode_component_id
236+
What: /sys/bus/counter/devices/counterX/signalY/frequency_component_id
229237
KernelVersion: 5.16
230238
231239
Description:
@@ -366,3 +374,9 @@ Description:
366374
via index_polarity. The index function (as enabled via
367375
preset_enable) is performed synchronously with the
368376
quadrature clock on the active level of the index input.
377+
378+
What: /sys/bus/counter/devices/counterX/signalY/frequency
379+
KernelVersion: 6.1
380+
381+
Description:
382+
Read-only attribute that indicates the signal Y frequency, in Hz.

0 commit comments

Comments
 (0)