[RFC PATCH 0/2] Sub ns increment fixes in Macb PTP

From: Harini Katakam
Date: Mon Mar 18 2019 - 08:32:16 EST

The subns increment register fields are not captured correctly in the
driver. Fix the same and also increase the subns incr resolution.

Sub ns resolution was increased to 24 bits in r1p06f2 version. To my
knowledge, this PTP driver, with its current BD time stamp
implementation, is only useful to that version or above. So, I have
increased the resolution unconditionally. Please let me know if there
is any IP versions incompatible with this - there is no register to
obtain this information from.

Harini Katakam (2):
net: macb: Add separate definition for PPM fraction
net: macb: Fix SUBNS increment and increase resolution

drivers/net/ethernet/cadence/macb.h | 9 ++++++++-
drivers/net/ethernet/cadence/macb_ptp.c | 7 +++++--
2 files changed, 13 insertions(+), 3 deletions(-)