xref: /linux/drivers/net/pcs/Kconfig (revision 5d7f3375cd574fc83f0cd30839b21455c0e79ae2)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# PCS Layer Configuration
4#
5
6menu "PCS device drivers"
7
8config PCS_XPCS
9	tristate "Synopsys DesignWare Ethernet XPCS"
10	select PHYLINK
11	help
12	  This module provides a driver and helper functions for Synopsys
13	  DesignWare XPCS controllers.
14
15if PCS_XPCS
16
17config PCS_XPCS_PLATFORM
18	tristate "Generic XPCS controller support"
19	help
20	  Generic DWXPCS driver for platforms that don't require any
21	  platform specific code to function or is using platform
22	  data for setup.
23
24	  If you have a controller with this interface, say Y or M here.
25
26config PCS_XPCS_ROCKCHIP
27	tristate "Rockchip XPCS controller support"
28	depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
29	select GENERIC_PHY
30	select PM_GENERIC_DOMAINS if PM
31	help
32	  Support for XPCS controller on Rockchip RK356x SoC.
33
34	  If you have a Rockchip SoC with this interface, say Y or M here.
35
36endif # PCS_XPCS
37
38config PCS_LYNX
39	tristate
40	help
41	  This module provides helpers to phylink for managing the Lynx PCS
42	  which is part of the Layerscape and QorIQ Ethernet SERDES.
43
44config PCS_MTK_LYNXI
45	tristate
46	select PHY_COMMON_PROPS
47	select REGMAP
48	help
49	  This module provides helpers to phylink for managing the LynxI PCS
50	  which is part of MediaTek's SoC and Ethernet switch ICs.
51
52config PCS_RZN1_MIIC
53	tristate "Renesas RZ/N1, RZ/N2H, RZ/T2H MII converter"
54	depends on OF
55	depends on ARCH_RENESAS || COMPILE_TEST
56	help
57	  This module provides a driver for the MII converter available on
58	  Renesas RZ/N1, RZ/N2H, and RZ/T2H SoCs. This PCS converts MII to
59	  RMII/RGMII, or can be set in pass-through mode for MII.
60
61endmenu
62