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)
commit2f23f486cf626a9a2ea70da0dac93c63e89f6595
treed99afcf886bedf1d40ab4ebae2d0450a8869ce86
parent9f492c4cb2351c43e5ea64285e729a21392950df
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