]> 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)
commit206d2d311025f28c7d555b8efe2c45cb4a943c70
tree88a887ab348617f37fab2e90fe5ba76eddccebe6
parentf57a3e7480c2534fb5b04ae21aa789f85e58c186
parenta156e70bdd3143ece81c8328258ccecc59256ffb
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>