]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Initialize PTP_SEC_ROLLOVER register properly
authorNaveen Mamindlapalli <naveenm@marvell.com>
Sat, 10 Sep 2022 07:54:16 +0000 (13:24 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Sep 2022 19:13:41 +0000 (20:13 +0100)
commit1c34a63891b3212b3ce5c79efd65e59a5f5b1142
tree20f8b43d78dc13bdc85ac9b8e43a2838f741fdd5
parentc492733a550044891004eb34f73a87fb38d7df3b
octeontx2-af: Initialize PTP_SEC_ROLLOVER register properly

Since the reset value of PTP_SEC_ROLLOVER is incorrect on
CNF10KB silicon, the ptp timestamps are inaccurate. This
patch initializes the PTP_SEC_ROLLOVER register properly
for the CNF10KB silicon.

Signed-off-by: Naveen Mamindlapalli <naveenm@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/ptp.c