]> 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)
commit5de9780940232430800e355ff7d73f4479abf638
treed99afcf886bedf1d40ab4ebae2d0450a8869ce86
parent3783edba488de4dfc6b0ed2dd29ea8adcd97a348
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