Skip to content

Commit 7bb985a

Browse files
bijudaslag-linaro
authored andcommitted
Documentation: ABI: sysfs-bus-counter: add cascade_counts_enable and external_input_phase_clock_select
This commit adds cascade_counts_enable and external_input_phase_ clock_select items to counter ABI file. (e.g. for Renesas MTU3 hardware used for phase counting). Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: William Breathitt Gray <william.gray@linaro.org> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20230330111632.169434-4-biju.das.jz@bp.renesas.com
1 parent 654c293 commit 7bb985a

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Documentation/ABI/testing/sysfs-bus-counter

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
What: /sys/bus/counter/devices/counterX/cascade_counts_enable
2+
KernelVersion: 6.4
3+
Contact: linux-iio@vger.kernel.org
4+
Description:
5+
Indicates the cascading of Counts on Counter X.
6+
7+
Valid attribute values are boolean.
8+
9+
What: /sys/bus/counter/devices/counterX/external_input_phase_clock_select
10+
KernelVersion: 6.4
11+
Contact: linux-iio@vger.kernel.org
12+
Description:
13+
Selects the external clock pin for phase counting mode of
14+
Counter X.
15+
16+
MTCLKA-MTCLKB:
17+
MTCLKA and MTCLKB pins are selected for the external
18+
phase clock.
19+
20+
MTCLKC-MTCLKD:
21+
MTCLKC and MTCLKD pins are selected for the external
22+
phase clock.
23+
24+
What: /sys/bus/counter/devices/counterX/external_input_phase_clock_select_available
25+
KernelVersion: 6.4
26+
Contact: linux-iio@vger.kernel.org
27+
Description:
28+
Discrete set of available values for the respective device
29+
configuration are listed in this file.
30+
131
What: /sys/bus/counter/devices/counterX/countY/count
232
KernelVersion: 5.2
333
Contact: linux-iio@vger.kernel.org
@@ -215,6 +245,8 @@ Contact: linux-iio@vger.kernel.org
215245
Description:
216246
This attribute indicates the number of overflows of count Y.
217247

248+
What: /sys/bus/counter/devices/counterX/cascade_counts_enable_component_id
249+
What: /sys/bus/counter/devices/counterX/external_input_phase_clock_select_component_id
218250
What: /sys/bus/counter/devices/counterX/countY/capture_component_id
219251
What: /sys/bus/counter/devices/counterX/countY/ceiling_component_id
220252
What: /sys/bus/counter/devices/counterX/countY/floor_component_id

0 commit comments

Comments
 (0)