]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: mscc: ocelot: expose serdes configuration function
authorColin Foster <colin.foster@in-advantage.com>
Fri, 17 Mar 2023 18:54:11 +0000 (11:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Mar 2023 09:08:48 +0000 (09:08 +0000)
commitdfca93ed51a7cf8bfda876705816a5e55381ac4a
tree6bef022dda248192576aceb57ce33ab61a17b425
parent69f7f89c0db52c5a3fe1bc9ba69d8248b5ee0bca
net: mscc: ocelot: expose serdes configuration function

During chip initialization, ports that use SGMII / QSGMII to interface to
external phys need to be configured on the VSC7513 and VSC7514. Expose this
configuration routine, so it can be used by DSA drivers.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.c
drivers/net/ethernet/mscc/ocelot_net.c
include/soc/mscc/ocelot.h