Skip to content
Commit d8d26354 authored by Richard Cochran's avatar Richard Cochran Committed by David S. Miller
Browse files

ptp: Introduce a high resolution frequency adjustment method.



The internal PTP Hardware Clock (PHC) interface limits the resolution for
frequency adjustments to one part per billion.  However, some hardware
devices allow finer adjustment, and making use of the increased resolution
improves synchronization measurably on such devices.

This patch adds an alternative method that allows finer frequency tuning
by passing the scaled ppm value to PHC drivers.  This value comes from
user space, and it has a resolution of about 0.015 ppb.  We also deprecate
the older method, anticipating its removal once existing drivers have been
converted over.

Signed-off-by: default avatarRichard Cochran <richardcochran@gmail.com>
Suggested-by: default avatarUlrik De Bie <ulrik.debie-os@e2big.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 149d6ad8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment