1 What: /sys/class/ptp/ 2 Date: September 2010 3 Contact: Richard Cochran <richardcochran 4 Description: 5 This directory contains files 6 providing a standardized inter 7 features of PTP hardware clock 8 9 What: /sys/class/ptp/ptp<N>/ 10 Date: September 2010 11 Contact: Richard Cochran <richardcochran 12 Description: 13 This directory contains the at 14 hardware clock registered into 15 subsystem. 16 17 What: /sys/class/ptp/ptp<N>/clock_na 18 Date: September 2010 19 Contact: Richard Cochran <richardcochran 20 Description: 21 This file contains the name of 22 as a human readable string. Th 23 attribute is to provide the us 24 name" and to help distinguish 25 MAC based ones. The string doe 26 to be any kind of unique id. 27 28 What: /sys/class/ptp/ptp<N>/max_adju 29 Date: September 2010 30 Contact: Richard Cochran <richardcochran 31 Description: 32 This file contains the PTP har 33 frequency adjustment value (a 34 parts per billion. 35 36 What: /sys/class/ptp/ptp<N>/max_vclo 37 Date: May 2021 38 Contact: Yangbo Lu <yangbo.lu@nxp.com> 39 Description: 40 This file contains the maximum 41 Write integer to re-configure 42 43 What: /sys/class/ptp/ptp<N>/n_alarms 44 Date: September 2010 45 Contact: Richard Cochran <richardcochran 46 Description: 47 This file contains the number 48 alarms offer by the PTP hardwa 49 50 What: /sys/class/ptp/ptp<N>/n_extern 51 Date: September 2010 52 Contact: Richard Cochran <richardcochran 53 Description: 54 This file contains the number 55 channels offered by the PTP ha 56 57 What: /sys/class/ptp/ptp<N>/n_period 58 Date: September 2010 59 Contact: Richard Cochran <richardcochran 60 Description: 61 This file contains the number 62 output channels offered by the 63 64 What: /sys/class/ptp/ptp<N>/n_pins 65 Date: March 2014 66 Contact: Richard Cochran <richardcochran 67 Description: 68 This file contains the number 69 offered by the PTP hardware cl 70 71 What: /sys/class/ptp/ptp<N>/n_vclock 72 Date: May 2021 73 Contact: Yangbo Lu <yangbo.lu@nxp.com> 74 Description: 75 This file contains the number 76 use. By default, the value is 77 physical clock is in use. Set 78 the corresponding number of vi 79 the physical clock to become f 80 value back to 0 deletes the vi 81 switches the physical clock ba 82 operation. 83 84 What: /sys/class/ptp/ptp<N>/pins 85 Date: March 2014 86 Contact: Richard Cochran <richardcochran 87 Description: 88 This directory contains one fi 89 pin offered by the PTP hardwar 90 is the hardware dependent pin 91 file produces two numbers, the 92 the `PTP_PF_` enumeration valu 93 and the channel number. The fu 94 assignment may be changed by t 95 the file. 96 97 What: /sys/class/ptp/ptp<N>/pps_avai 98 Date: September 2010 99 Contact: Richard Cochran <richardcochran 100 Description: 101 This file indicates whether th 102 supports a Pulse Per Second to 103 "1" means that the PPS is supp 104 not supported. 105 106 What: /sys/class/ptp/ptp<N>/extts_en 107 Date: September 2010 108 Contact: Richard Cochran <richardcochran 109 Description: 110 This write-only file enables o 111 timestamps. To enable external 112 channel index followed by a "1 113 To disable external timestamps 114 index followed by a "0" into t 115 116 What: /sys/class/ptp/ptp<N>/fifo 117 Date: September 2010 118 Contact: Richard Cochran <richardcochran 119 Description: 120 This file provides timestamps 121 the form of three integers: ch 122 and nanoseconds. 123 124 What: /sys/class/ptp/ptp<N>/period 125 Date: September 2010 126 Contact: Richard Cochran <richardcochran 127 Description: 128 This write-only file enables o 129 outputs. To enable a periodic 130 integers into the file: channe 131 seconds, start time nanosecond 132 period nanoseconds. To disable 133 all the seconds and nanosecond 134 135 What: /sys/class/ptp/ptp<N>/pps_enab 136 Date: September 2010 137 Contact: Richard Cochran <richardcochran 138 Description: 139 This write-only file enables o 140 PPS events to the Linux PPS su 141 events, write a "1" into the f 142 write a "0" into the file.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.