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

Documentation ABI: add PPS generators documentation

This patch adds the documentation for the ABI between the Linux kernel
and userspace regarding the PPS generators.

Signed-off-by: Rodolfo Giometti <giometti@enneenne.com>
Link: https://lore.kernel.org/r/20241108073115.759039-5-giometti@enneenne.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Rodolfo Giometti and committed by
Greg Kroah-Hartman
b3b9b3cc b14aea0c

+44
+43
Documentation/ABI/testing/sysfs-pps-gen
··· 1 + What: /sys/class/pps-gen/ 2 + Date: February 2025 3 + KernelVersion: 6.13 4 + Contact: Rodolfo Giometti <giometti@enneenne.com> 5 + Description: 6 + The /sys/class/pps-gen/ directory contains files and 7 + directories that provide a unified interface to the PPS 8 + generators. 9 + 10 + What: /sys/class/pps-gen/pps-genX/ 11 + Date: February 2025 12 + KernelVersion: 6.13 13 + Contact: Rodolfo Giometti <giometti@enneenne.com> 14 + Description: 15 + The /sys/class/pps-gen/pps-genX/ directory is related to X-th 16 + PPS generator in the system. Each directory contain files to 17 + manage and control its PPS generator. 18 + 19 + What: /sys/class/pps-gen/pps-genX/enable 20 + Date: February 2025 21 + KernelVersion: 6.13 22 + Contact: Rodolfo Giometti <giometti@enneenne.com> 23 + Description: 24 + This write-only file enables or disables generation of the 25 + PPS signal. 26 + 27 + What: /sys/class/pps-gen/pps-genX/system 28 + Date: February 2025 29 + KernelVersion: 6.13 30 + Contact: Rodolfo Giometti <giometti@enneenne.com> 31 + Description: 32 + This read-only file returns "1" if the generator takes the 33 + timing from the system clock, while it returns "0" if not 34 + (i.e. from a peripheral device clock). 35 + 36 + What: /sys/class/pps-gen/pps-genX/time 37 + Date: February 2025 38 + KernelVersion: 6.13 39 + Contact: Rodolfo Giometti <giometti@enneenne.com> 40 + Description: 41 + This read-only file contains the current time stored into the 42 + generator clock as two integers representing the current time 43 + seconds and nanoseconds.
+1
MAINTAINERS
··· 18715 18715 S: Maintained 18716 18716 W: http://wiki.enneenne.com/index.php/LinuxPPS_support 18717 18717 F: Documentation/ABI/testing/sysfs-pps 18718 + F: Documentation/ABI/testing/sysfs-pps-gen 18718 18719 F: Documentation/devicetree/bindings/pps/pps-gpio.yaml 18719 18720 F: Documentation/driver-api/pps.rst 18720 18721 F: drivers/pps/