xref: /linux/drivers/phy/mediatek/Kconfig (revision 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Phy drivers for Mediatek devices
4#
5config PHY_MTK_PCIE
6	tristate "MediaTek PCIe-PHY Driver"
7	depends on ARCH_MEDIATEK || COMPILE_TEST
8	depends on OF
9	select GENERIC_PHY
10	help
11	  Say 'Y' here to add support for MediaTek PCIe PHY driver.
12	  This driver create the basic PHY instance and provides initialize
13	  callback for PCIe GEN3 port, it supports software efuse
14	  initialization.
15
16config PHY_MTK_XFI_TPHY
17	tristate "MediaTek 10GE SerDes XFI T-PHY driver"
18	depends on ARCH_MEDIATEK || COMPILE_TEST
19	depends on OF
20	select GENERIC_PHY
21	help
22	  Say 'Y' here to add support for MediaTek XFI T-PHY driver.
23	  The driver provides access to the Ethernet SerDes T-PHY supporting
24	  1GE and 2.5GE modes via the LynxI PCS, and 5GE and 10GE modes
25	  via the USXGMII PCS found in MediaTek SoCs with 10G Ethernet.
26
27config PHY_MTK_TPHY
28	tristate "MediaTek T-PHY Driver"
29	depends on ARCH_MEDIATEK || COMPILE_TEST
30	depends on OF && OF_ADDRESS
31	depends on HAS_IOMEM
32	select GENERIC_PHY
33	help
34	  Say 'Y' here to add support for MediaTek T-PHY driver,
35	  it supports multiple usb2.0, usb3.0 ports, PCIe and
36	  SATA, and meanwhile supports two version T-PHY which have
37	  different banks layout, the T-PHY with shared banks between
38	  multi-ports is first version, otherwise is second version,
39	  so you can easily distinguish them by banks layout.
40
41config PHY_MTK_UFS
42	tristate "MediaTek UFS M-PHY driver"
43	depends on ARCH_MEDIATEK || COMPILE_TEST
44	depends on OF
45	select GENERIC_PHY
46	help
47	  Support for UFS M-PHY on MediaTek chipsets.
48	  Enable this to provide vendor-specific probing,
49	  initialization, power on and power off flow of
50	  specified M-PHYs.
51
52config PHY_MTK_XSPHY
53	tristate "MediaTek XS-PHY Driver"
54	depends on ARCH_MEDIATEK || COMPILE_TEST
55	depends on OF && OF_ADDRESS
56	depends on HAS_IOMEM
57	select GENERIC_PHY
58	help
59	  Enable this to support the SuperSpeedPlus XS-PHY transceiver for
60	  USB3.1 GEN2 controllers on MediaTek chips. The driver supports
61	  multiple USB2.0, USB3.1 GEN2 ports.
62
63config PHY_MTK_HDMI
64	tristate "MediaTek HDMI-PHY Driver"
65	depends on ARCH_MEDIATEK || COMPILE_TEST
66	depends on COMMON_CLK
67	depends on OF
68	select GENERIC_PHY
69	help
70	  Support HDMI PHY for Mediatek SoCs.
71
72config PHY_MTK_MIPI_CSI_0_5
73	tristate "MediaTek MIPI CSI CD-PHY v0.5 Driver"
74	depends on ARCH_MEDIATEK || COMPILE_TEST
75	depends on OF
76	select GENERIC_PHY
77	help
78	  Enable this to support the MIPI CSI CD-PHY receiver version 0.5.
79	  The driver supports multiple CSI cdphy ports simultaneously.
80
81	  To compile this driver as a module, choose M here: the
82	  module will be called phy-mtk-mipi-csi-0-5.
83
84config PHY_MTK_MIPI_DSI
85	tristate "MediaTek MIPI-DSI Driver"
86	depends on ARCH_MEDIATEK || COMPILE_TEST
87	depends on COMMON_CLK
88	depends on OF
89	select GENERIC_PHY
90	help
91	  Support MIPI DSI for Mediatek SoCs.
92
93config PHY_MTK_DP
94	tristate "MediaTek DP-PHY Driver"
95	depends on ARCH_MEDIATEK || COMPILE_TEST
96	depends on OF
97	select GENERIC_PHY
98	help
99	  Support DisplayPort PHY for MediaTek SoCs.
100