net: phy: add Marvell 88X2222 transceiver support
authorIvan Bornyakov <i.bornyakov@metrotek.ru>
Mon, 15 Mar 2021 14:19:26 +0000 (17:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Mar 2021 21:50:28 +0000 (14:50 -0700)
commit6e3bac3eba448a438840ab8152cb8bbfcb8787b8
treeefd4f75fac1970330d2b13af88779b90f30f09b5
parent63fe60596b9bff7d28bbfe9a3ca57ef77b8dcd26
net: phy: add Marvell 88X2222 transceiver support

Add basic support for the Marvell 88X2222 multi-speed ethernet
transceiver.

This PHY provides data transmission over fiber-optic as well as Twinax
copper links. The 88X2222 supports 2 ports of 10GBase-R and 1000Base-X
on the line-side interface. The host-side interface supports 4 ports of
10GBase-R, RXAUI, 1000Base-X and 2 ports of XAUI.

This driver, however, supports only XAUI on the host-side and
1000Base-X/10GBase-R on the line-side, for now. The SGMII is also
supported over 1000Base-X. Interrupts are not supported.

Internal registers access compliant with the Clause 45 specification.

Signed-off-by: Ivan Bornyakov <i.bornyakov@metrotek.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/Kconfig
drivers/net/phy/Makefile
drivers/net/phy/marvell-88x2222.c [new file with mode: 0644]
include/linux/marvell_phy.h