xref: /linux/Documentation/ABI/testing/sysfs-pps (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*eae9d2baSRodolfo GiomettiWhat:		/sys/class/pps/
2*eae9d2baSRodolfo GiomettiDate:		February 2008
3*eae9d2baSRodolfo GiomettiContact:	Rodolfo Giometti <giometti@linux.it>
4*eae9d2baSRodolfo GiomettiDescription:
5*eae9d2baSRodolfo Giometti		The /sys/class/pps/ directory will contain files and
6*eae9d2baSRodolfo Giometti		directories that will provide a unified interface to
7*eae9d2baSRodolfo Giometti		the PPS sources.
8*eae9d2baSRodolfo Giometti
9*eae9d2baSRodolfo GiomettiWhat:		/sys/class/pps/ppsX/
10*eae9d2baSRodolfo GiomettiDate:		February 2008
11*eae9d2baSRodolfo GiomettiContact:	Rodolfo Giometti <giometti@linux.it>
12*eae9d2baSRodolfo GiomettiDescription:
13*eae9d2baSRodolfo Giometti		The /sys/class/pps/ppsX/ directory is related to X-th
14*eae9d2baSRodolfo Giometti		PPS source into the system. Each directory will
15*eae9d2baSRodolfo Giometti		contain files to manage and control its PPS source.
16*eae9d2baSRodolfo Giometti
17*eae9d2baSRodolfo GiomettiWhat:		/sys/class/pps/ppsX/assert
18*eae9d2baSRodolfo GiomettiDate:		February 2008
19*eae9d2baSRodolfo GiomettiContact:	Rodolfo Giometti <giometti@linux.it>
20*eae9d2baSRodolfo GiomettiDescription:
21*eae9d2baSRodolfo Giometti		The /sys/class/pps/ppsX/assert file reports the assert events
22*eae9d2baSRodolfo Giometti		and the assert sequence number of the X-th source in the form:
23*eae9d2baSRodolfo Giometti
24*eae9d2baSRodolfo Giometti			<secs>.<nsec>#<sequence>
25*eae9d2baSRodolfo Giometti
26*eae9d2baSRodolfo Giometti		If the source has no assert events the content of this file
27*eae9d2baSRodolfo Giometti		is empty.
28*eae9d2baSRodolfo Giometti
29*eae9d2baSRodolfo GiomettiWhat:		/sys/class/pps/ppsX/clear
30*eae9d2baSRodolfo GiomettiDate:		February 2008
31*eae9d2baSRodolfo GiomettiContact:	Rodolfo Giometti <giometti@linux.it>
32*eae9d2baSRodolfo GiomettiDescription:
33*eae9d2baSRodolfo Giometti		The /sys/class/pps/ppsX/clear file reports the clear events
34*eae9d2baSRodolfo Giometti		and the clear sequence number of the X-th source in the form:
35*eae9d2baSRodolfo Giometti
36*eae9d2baSRodolfo Giometti			<secs>.<nsec>#<sequence>
37*eae9d2baSRodolfo Giometti
38*eae9d2baSRodolfo Giometti		If the source has no clear events the content of this file
39*eae9d2baSRodolfo Giometti		is empty.
40*eae9d2baSRodolfo Giometti
41*eae9d2baSRodolfo GiomettiWhat:		/sys/class/pps/ppsX/mode
42*eae9d2baSRodolfo GiomettiDate:		February 2008
43*eae9d2baSRodolfo GiomettiContact:	Rodolfo Giometti <giometti@linux.it>
44*eae9d2baSRodolfo GiomettiDescription:
45*eae9d2baSRodolfo Giometti		The /sys/class/pps/ppsX/mode file reports the functioning
46*eae9d2baSRodolfo Giometti		mode of the X-th source in hexadecimal encoding.
47*eae9d2baSRodolfo Giometti
48*eae9d2baSRodolfo Giometti		Please, refer to linux/include/linux/pps.h for further
49*eae9d2baSRodolfo Giometti		info.
50*eae9d2baSRodolfo Giometti
51*eae9d2baSRodolfo GiomettiWhat:		/sys/class/pps/ppsX/echo
52*eae9d2baSRodolfo GiomettiDate:		February 2008
53*eae9d2baSRodolfo GiomettiContact:	Rodolfo Giometti <giometti@linux.it>
54*eae9d2baSRodolfo GiomettiDescription:
55*eae9d2baSRodolfo Giometti		The /sys/class/pps/ppsX/echo file reports if the X-th does
56*eae9d2baSRodolfo Giometti		or does not support an "echo" function.
57*eae9d2baSRodolfo Giometti
58*eae9d2baSRodolfo GiomettiWhat:		/sys/class/pps/ppsX/name
59*eae9d2baSRodolfo GiomettiDate:		February 2008
60*eae9d2baSRodolfo GiomettiContact:	Rodolfo Giometti <giometti@linux.it>
61*eae9d2baSRodolfo GiomettiDescription:
62*eae9d2baSRodolfo Giometti		The /sys/class/pps/ppsX/name file reports the name of the
63*eae9d2baSRodolfo Giometti		X-th source.
64*eae9d2baSRodolfo Giometti
65*eae9d2baSRodolfo GiomettiWhat:		/sys/class/pps/ppsX/path
66*eae9d2baSRodolfo GiomettiDate:		February 2008
67*eae9d2baSRodolfo GiomettiContact:	Rodolfo Giometti <giometti@linux.it>
68*eae9d2baSRodolfo GiomettiDescription:
69*eae9d2baSRodolfo Giometti		The /sys/class/pps/ppsX/path file reports the path name of
70*eae9d2baSRodolfo Giometti		the device connected with the X-th source.
71*eae9d2baSRodolfo Giometti
72*eae9d2baSRodolfo Giometti		If the source is not connected with any device the content
73*eae9d2baSRodolfo Giometti		of this file is empty.
74