]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: ocp: Expose clock status drift and offset
authorVadim Fedorenko <vadfed@fb.com>
Wed, 2 Mar 2022 21:34:56 +0000 (13:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Mar 2022 14:42:46 +0000 (14:42 +0000)
commitba47a6b80865c49072bfa6cd4644915c9391dc39
treed99afcf886bedf1d40ab4ebae2d0450a8869ce86
parent8a56e7c6b3de6a4089e18dc53ef68bcf01b2d8fd
ptp: ocp: Expose clock status drift and offset

Monitoring of clock variance could be done through checking
the offset and the drift updates that are applied to atomic
clocks.  Expose these values as attributes for the timecard.

Signed-off-by: Vadim Fedorenko <vadfed@fb.com>
Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_ocp.c