aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2014-03-20 17:21:54 -0400
committerDavid S. Miller <davem@davemloft.net>2014-03-21 14:21:14 -0400
commit653104d19a7d490baeb94113151e95d8c04ef01d (patch)
tree8c3bca239f689be17e526304c0164f0994b240f1 /Documentation/ABI
parent888a36871e1924a235ad88198d903382151e4ac5 (diff)
ptp: expose the programmable pins via sysfs
This patch adds the sysfs hooks needed in order to get and set the programmable pin settings. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-ptp20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-ptp b/Documentation/ABI/testing/sysfs-ptp
index 05aeedf17794..44806a678f12 100644
--- a/Documentation/ABI/testing/sysfs-ptp
+++ b/Documentation/ABI/testing/sysfs-ptp
@@ -54,6 +54,26 @@ Description:
54 This file contains the number of programmable periodic 54 This file contains the number of programmable periodic
55 output channels offered by the PTP hardware clock. 55 output channels offered by the PTP hardware clock.
56 56
57What: /sys/class/ptp/ptpN/n_pins
58Date: March 2014
59Contact: Richard Cochran <richardcochran@gmail.com>
60Description:
61 This file contains the number of programmable pins
62 offered by the PTP hardware clock.
63
64What: /sys/class/ptp/ptpN/pins
65Date: March 2014
66Contact: Richard Cochran <richardcochran@gmail.com>
67Description:
68 This directory contains one file for each programmable
69 pin offered by the PTP hardware clock. The file name
70 is the hardware dependent pin name. Reading from this
71 file produces two numbers, the assigned function (see
72 the PTP_PF_ enumeration values in linux/ptp_clock.h)
73 and the channel number. The function and channel
74 assignment may be changed by two writing numbers into
75 the file.
76
57What: /sys/class/ptp/ptpN/pps_avaiable 77What: /sys/class/ptp/ptpN/pps_avaiable
58Date: September 2010 78Date: September 2010
59Contact: Richard Cochran <richardcochran@gmail.com> 79Contact: Richard Cochran <richardcochran@gmail.com>