xref: /linux/Documentation/ABI/testing/sysfs-pps-gen (revision 13845bdc869f136f92ad3d40ea09b867bb4ce467)
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.
44