]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit6c5af965c09b55056adb88982d1de439bd021579
tree88a887ab348617f37fab2e90fe5ba76eddccebe6
parent115506fea499f1cd9a80290b31eca4352e0559e9
parent425d2b1c563826cf73e204172919fb40b7c45f1d
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>