]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ptp-Add-adjust-phase-to-support-phase-offset'
authorDavid S. Miller <davem@davemloft.net>
Sat, 2 May 2020 23:31:45 +0000 (16:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 May 2020 23:31:45 +0000 (16:31 -0700)
commitb5b359f2e74c4ce62daa0432baa0c9aaff94d27b
tree88a887ab348617f37fab2e90fe5ba76eddccebe6
parent0873287ee430fb1b3cc306d2f1f0176b5f917eee
parent463934f394a37f5b3b20cec6f1cb26cbe99b57f6
Merge branch 'ptp-Add-adjust-phase-to-support-phase-offset'

Vincent Cheng says:

====================
ptp: Add adjust phase to support phase offset.

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.

Changes since v1:
- As suggested by Richard Cochran:
  1. ops->adjphase is new so need to check for non-null function pointer.
  2. Kernel coding style uses lower_case_underscores.
  3. Use existing PTP clock API for delayed worker.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>