]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: add Lynx PCS module
authorIoana Ciornei <ioana.ciornei@nxp.com>
Sun, 30 Aug 2020 08:34:01 +0000 (11:34 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2020 19:52:33 +0000 (12:52 -0700)
commit28cfe75066e6b2701ffad35f68ae36c27db71ed7
tree467566432812bff0f2bbb9aafae57e0415cb0549
parentb412ba7dd323fe29040452b1735c265d779adc03
net: phy: add Lynx PCS module

Add a Lynx PCS module which exposes the necessary operations to drive
the PCS using phylink.

The majority of the code is extracted from the Felix DSA driver, which
will be also modified in a later patch, and exposed as a separate module
for code reusability purposes.
As such, this aims at feature and bug parity with the existing Felix DSA
driver, and thus USXGMII, SGMII, QSGMII and 2500Base-X (only w/o in-band
AN) are supported by the Lynx PCS module since these were also supported
by Felix.

The module can only be enabled by the drivers in need and not user
selectable.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
drivers/net/pcs/Kconfig
drivers/net/pcs/Makefile
drivers/net/pcs/pcs-lynx.c [new file with mode: 0644]
include/linux/pcs-lynx.h [new file with mode: 0644]