]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Use ptp input clock info from firmware data
authorSubbaraya Sundeep <sbhatta@marvell.com>
Tue, 28 Sep 2021 11:31:00 +0000 (17:01 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Sep 2021 12:50:37 +0000 (13:50 +0100)
commit71853e1e43cff5e7d4b2d2680fd8a48caca75d79
tree62daa62780d06d2ac857887cfea552588911e91b
parent8e1bda24f96f37554bbbc0ea8722dc4cc83534c1
octeontx2-af: Use ptp input clock info from firmware data

The input clock frequency of PTP block is figured
out from hardware reset block currently. The firmware
data already has this info in sclk. Hence simplify
ptp driver to use sclk from firmware data.

Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/ptp.c
drivers/net/ethernet/marvell/octeontx2/af/ptp.h
drivers/net/ethernet/marvell/octeontx2/af/rvu.c