# SPDX-License-Identifier: GPL-2.0-only
#
# PCS Layer Configuration
#

menu "PCS device drivers"

config FWNODE_PCS
	tristate
	depends on (ACPI || OF)
	depends on PHYLINK
	help
		Firmware node PCS accessors

config PCS_AIROHA
	select FWNODE_PCS
	tristate "Airoha PCS driver"
	help
	  This module provides helper to phylink for managing the Airoha
	  PCS for SoC Ethernet Serdes and PCS.

config PCS_XPCS
	tristate "Synopsys DesignWare Ethernet XPCS"
	select PHYLINK
	help
	  This module provides a driver and 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_MTK_USXGMII
	tristate "MediaTek USXGMII PCS"
	select PHYLINK
	select FWNODE_PCS
	select PCS_MTK_LYNXI
	imply PHY_MTK_PEXTP
	help
	  This module provides a driver for MediaTek's USXGMII PCS supporting
	  10GBase-R, 5GBase-R and USXGMII interface modes.
	  1000Base-X, 2500Base-X and Cisco SGMII are supported on the same
	  differential pairs via an embedded LynxI PCS.

config PCS_RZN1_MIIC
	tristate "Renesas RZ/N1, RZ/N2H, RZ/T2H MII converter"
	depends on OF
	depends on ARCH_RENESAS || COMPILE_TEST
	help
	  This module provides a driver for the MII converter available on
	  Renesas RZ/N1, RZ/N2H, and RZ/T2H SoCs. This PCS converts MII to
	  RMII/RGMII, or can be set in pass-through mode for MII.

endmenu
