diff options
author | Rahul Rameshbabu <rrameshbabu@nvidia.com> | 2023-06-12 14:14:52 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-20 09:02:32 +0100 |
commit | a05d070a6164bd0578991e42181a52b9c7cf630c (patch) | |
tree | c3e112933bbe87f5531c390b6555595715bcc37e /include | |
parent | Merge branch 'ipv6-random-cleanup-for-extension-header' (diff) | |
download | linux-a05d070a6164bd0578991e42181a52b9c7cf630c.tar.gz linux-a05d070a6164bd0578991e42181a52b9c7cf630c.tar.bz2 linux-a05d070a6164bd0578991e42181a52b9c7cf630c.zip |
ptp: Clarify ptp_clock_info .adjphase expects an internal servo to be used
.adjphase expects a PHC to use an internal servo algorithm to correct the
provided phase offset target in the callback. Implementation of the
internal servo algorithm are defined by the individual devices.
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ptp_clock_kernel.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/ptp_clock_kernel.h b/include/linux/ptp_clock_kernel.h index fdffa6a98d79..f8e8443a8b35 100644 --- a/include/linux/ptp_clock_kernel.h +++ b/include/linux/ptp_clock_kernel.h @@ -77,8 +77,10 @@ struct ptp_system_timestamp { * nominal frequency in parts per million, but with a * 16 bit binary fractional field. * - * @adjphase: Adjusts the phase offset of the hardware clock. - * parameter delta: Desired change in nanoseconds. + * @adjphase: Indicates that the PHC should use an internal servo + * algorithm to correct the provided phase offset. + * parameter delta: PHC servo phase adjustment target + * in nanoseconds. * * @adjtime: Shifts the time of the hardware clock. * parameter delta: Desired change in nanoseconds. |