xref: /linux/drivers/phy/mediatek/Kconfig (revision a5546c2f0dc4f84727a4bb8a91633917929735f5)
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	depends on REGULATOR
69	select GENERIC_PHY
70	help
71	  Support HDMI PHY for Mediatek SoCs.
72
73config PHY_MTK_MIPI_CSI_0_5
74	tristate "MediaTek MIPI CSI CD-PHY v0.5 Driver"
75	depends on ARCH_MEDIATEK || COMPILE_TEST
76	depends on OF
77	select GENERIC_PHY
78	help
79	  Enable this to support the MIPI CSI CD-PHY receiver version 0.5.
80	  The driver supports multiple CSI cdphy ports simultaneously.
81
82	  To compile this driver as a module, choose M here: the
83	  module will be called phy-mtk-mipi-csi-0-5.
84
85config PHY_MTK_MIPI_DSI
86	tristate "MediaTek MIPI-DSI Driver"
87	depends on ARCH_MEDIATEK || COMPILE_TEST
88	depends on COMMON_CLK
89	depends on OF
90	select GENERIC_PHY
91	help
92	  Support MIPI DSI for Mediatek SoCs.
93
94config PHY_MTK_DP
95	tristate "MediaTek DP-PHY Driver"
96	depends on ARCH_MEDIATEK || COMPILE_TEST
97	depends on OF
98	select GENERIC_PHY
99	help
100	  Support DisplayPort PHY for MediaTek SoCs.
101