The SGMII core found in several MediaTek SoCs is identical to what can also be found in MediaTek's MT7531 Ethernet switch IC. As this has not always been clear, both drivers developed different implementations to deal with the PCS. Recently Alexander Couzens pointed out this fact which lead to the development of this shared driver. Add a dedicated driver, mostly by copying the code now found in the Ethernet driver. The now redundant code will be removed by a follow-up commit. Suggested-by: Alexander Couzens <lynxis@fe80.eu> Suggested-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Daniel Golle <daniel@makrotopia.org> Tested-by: Frank Wunderlich <frank-w@public-files.de> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# PCS Layer Configuration
|
|
#
|
|
|
|
menu "PCS device drivers"
|
|
|
|
config PCS_XPCS
|
|
tristate
|
|
select PHYLINK
|
|
help
|
|
This module provides helper functions for Synopsys DesignWare XPCS
|
|
controllers.
|
|
|
|
config PCS_LYNX
|
|
tristate
|
|
help
|
|
This module provides helpers to phylink for managing the Lynx PCS
|
|
which is part of the Layerscape and QorIQ Ethernet SERDES.
|
|
|
|
config PCS_MTK_LYNXI
|
|
tristate
|
|
select REGMAP
|
|
help
|
|
This module provides helpers to phylink for managing the LynxI PCS
|
|
which is part of MediaTek's SoC and Ethernet switch ICs.
|
|
|
|
config PCS_RZN1_MIIC
|
|
tristate "Renesas RZ/N1 MII converter"
|
|
depends on OF && (ARCH_RZN1 || COMPILE_TEST)
|
|
help
|
|
This module provides a driver for the MII converter that is available
|
|
on RZ/N1 SoCs. This PCS converts MII to RMII/RGMII or can be set in
|
|
pass-through mode for MII.
|
|
|
|
config PCS_ALTERA_TSE
|
|
tristate
|
|
help
|
|
This module provides helper functions for the Altera Triple Speed
|
|
Ethernet SGMII PCS, that can be found on the Intel Socfpga family.
|
|
|
|
endmenu
|