Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Biju Das and committed by
Lee Jones
7bb985ac 654c293e

+32
+32
Documentation/ABI/testing/sysfs-bus-counter
··· 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 + 1 31 What: /sys/bus/counter/devices/counterX/countY/count 2 32 KernelVersion: 5.2 3 33 Contact: linux-iio@vger.kernel.org ··· 245 215 Description: 246 216 This attribute indicates the number of overflows of count Y. 247 217 218 + What: /sys/bus/counter/devices/counterX/cascade_counts_enable_component_id 219 + What: /sys/bus/counter/devices/counterX/external_input_phase_clock_select_component_id 248 220 What: /sys/bus/counter/devices/counterX/countY/capture_component_id 249 221 What: /sys/bus/counter/devices/counterX/countY/ceiling_component_id 250 222 What: /sys/bus/counter/devices/counterX/countY/floor_component_id