linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] ptp: Add adjust phase to support phase offset.
@ 2020-04-30  0:28 vincent.cheng.xh
  2020-04-30  0:28 ` [PATCH net-next 1/3] ptp: Add adjphase function to support phase offset control vincent.cheng.xh
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: vincent.cheng.xh @ 2020-04-30  0:28 UTC (permalink / raw)
  To: richardcochran; +Cc: netdev, linux-kernel, linux-kselftest, Vincent Cheng

From: Vincent Cheng <vincent.cheng.xh@renesas.com>

This series adds adjust phase to the PTP Hardware Clock device interface.

Some PTP hardware clocks have a write phase mode that has
a built-in hardware filtering capability.  The write phase mode
utilizes a phase offset control word instead of a frequency offset 
control word.  Add adjust phase function to take advantage of this
capability.

Vincent Cheng (3):
  ptp: Add adjphase function to support phase offset control.
  ptp: Add adjust_phase to ptp_clock_caps capability.
  ptp: ptp_clockmatrix: Add adjphase() to support PHC write phase mode.

 drivers/ptp/ptp_chardev.c             |   1 +
 drivers/ptp/ptp_clock.c               |   2 +
 drivers/ptp/ptp_clockmatrix.c         | 123 ++++++++++++++++++++++++++++++++++
 drivers/ptp/ptp_clockmatrix.h         |  11 ++-
 include/linux/ptp_clock_kernel.h      |   6 +-
 include/uapi/linux/ptp_clock.h        |   4 +-
 tools/testing/selftests/ptp/testptp.c |   6 +-
 7 files changed, 147 insertions(+), 6 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-05-01 13:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30  0:28 [PATCH net-next 0/3] ptp: Add adjust phase to support phase offset vincent.cheng.xh
2020-04-30  0:28 ` [PATCH net-next 1/3] ptp: Add adjphase function to support phase offset control vincent.cheng.xh
2020-05-01  3:37   ` Richard Cochran
2020-05-01 13:48     ` Vincent Cheng
2020-04-30  0:28 ` [PATCH net-next 2/3] ptp: Add adjust_phase to ptp_clock_caps capability vincent.cheng.xh
2020-05-01  3:38   ` Richard Cochran
2020-04-30  0:28 ` [PATCH net-next 3/3] ptp: ptp_clockmatrix: Add adjphase() to support PHC write phase mode vincent.cheng.xh
2020-05-01  3:56   ` Richard Cochran
2020-05-01 13:51     ` Vincent Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).