linuxptp/configs
Richard Cochran 7df88afab9 Add support for write phase mode.
Recently the Linux kernel's PTP Hardware Clock interface was expanded
to include a "write phase" mode where the clock servo in implemented
in hardware.  This mode hearkens back to the tradition ntp_adjtime
interface, passing a measured offset into the kernel's servo.

This patch adds a new configuration option and logic to support the
write phase mode.

Because the hardware's adjustment bandwidth may be limited, this mode
is only activated when the servo reaches SERVO_LOCKED_STABLE state, in
order to achieve reasonably fast locking times.  Users may control the
SERVO_LOCKED_STABLE state by configuring 'servo_offset_threshold' and
'servo_num_offset_values' accordingly.

Example configuration file highlights:

  unicast_listen          1
  logSyncInterval         0
  logMinDelayReqInterval  0
  first_step_threshold    0.001000000
  step_threshold          0
  clock_servo             pi

  write_phase_mode        1
  servo_offset_threshold  50
  servo_num_offset_values 10
  tsproc_mode             raw

Signed-off-by: Vincent Cheng <vincent.cheng.xh@renesas.com>
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
2020-05-24 11:43:51 -07:00
..
E2E-TC.cfg Move the configuration files to their own directory. 2018-05-25 07:46:03 -07:00
G.8265.1.cfg telecom: Add example configuration files. 2018-07-01 22:10:08 -07:00
G.8275.1.cfg Improve G.8275.[12] example configs. 2019-07-05 20:29:19 -07:00
G.8275.2.cfg Improve G.8275.[12] example configs. 2019-07-05 20:29:19 -07:00
P2P-TC.cfg Move the configuration files to their own directory. 2018-05-25 07:46:03 -07:00
UNICAST-MASTER.cfg Add example configuration files for unicast operation. 2018-07-01 22:10:08 -07:00
UNICAST-SLAVE.cfg Add example configuration files for unicast operation. 2018-07-01 22:10:08 -07:00
automotive-master.cfg port: Add inhibit_delay_req. 2019-05-08 21:29:48 -07:00
automotive-slave.cfg Decouple servo state from automotive profile. 2020-05-24 11:42:49 -07:00
default.cfg Add support for write phase mode. 2020-05-24 11:43:51 -07:00
gPTP.cfg config: logAnnounceInterval for 802.1AS 2018-08-02 09:25:58 -07:00
snmpd.conf snmp4lptp: Add snmp sub agent for linuxptp 2018-09-07 09:44:52 -07:00
ts2phc-TC.cfg ts2phc: Support using a PHC as the master clock. 2020-05-07 14:57:47 -07:00
ts2phc-generic.cfg Introduce the ts2phc program. 2020-05-07 14:57:47 -07:00