mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Sub ns increment fixes in Macb PTP
@ 2019-06-27  6:20 Harini Katakam
  2019-06-27  6:20 ` [PATCH 1/2] net: macb: Add separate definition for PPM fraction Harini Katakam
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Harini Katakam @ 2019-06-27  6:20 UTC (permalink / raw)
  To: nicolas.ferre, davem, richardcochran, claudiu.beznea, rafalo,
	andrei.pistirica
  Cc: netdev, linux-kernel, michal.simek, harinikatakamlinux, harini.katakam

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.

Changes from RFC:
None

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(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-29 18:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-27  6:20 [PATCH 0/2] Sub ns increment fixes in Macb PTP Harini Katakam
2019-06-27  6:20 ` [PATCH 1/2] net: macb: Add separate definition for PPM fraction Harini Katakam
2019-06-27  6:21 ` [PATCH 2/2] net: macb: Fix SUBNS increment and increase resolution Harini Katakam
2019-06-29 18:09 ` [PATCH 0/2] Sub ns increment fixes in Macb PTP David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®