xref: /openbmc/linux/drivers/phy/mediatek/Kconfig (revision 85250a24)
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_TPHY
17	tristate "MediaTek T-PHY Driver"
18	depends on ARCH_MEDIATEK || COMPILE_TEST
19	depends on OF && OF_ADDRESS
20	depends on HAS_IOMEM
21	select GENERIC_PHY
22	help
23	  Say 'Y' here to add support for MediaTek T-PHY driver,
24	  it supports multiple usb2.0, usb3.0 ports, PCIe and
25	  SATA, and meanwhile supports two version T-PHY which have
26	  different banks layout, the T-PHY with shared banks between
27	  multi-ports is first version, otherwise is second version,
28	  so you can easily distinguish them by banks layout.
29
30config PHY_MTK_UFS
31	tristate "MediaTek UFS M-PHY driver"
32	depends on ARCH_MEDIATEK || COMPILE_TEST
33	depends on OF
34	select GENERIC_PHY
35	help
36	  Support for UFS M-PHY on MediaTek chipsets.
37	  Enable this to provide vendor-specific probing,
38	  initialization, power on and power off flow of
39	  specified M-PHYs.
40
41config PHY_MTK_XSPHY
42	tristate "MediaTek XS-PHY Driver"
43	depends on ARCH_MEDIATEK || COMPILE_TEST
44	depends on OF && OF_ADDRESS
45	depends on HAS_IOMEM
46	select GENERIC_PHY
47	help
48	  Enable this to support the SuperSpeedPlus XS-PHY transceiver for
49	  USB3.1 GEN2 controllers on MediaTek chips. The driver supports
50	  multiple USB2.0, USB3.1 GEN2 ports.
51
52config PHY_MTK_HDMI
53	tristate "MediaTek HDMI-PHY Driver"
54	depends on ARCH_MEDIATEK || COMPILE_TEST
55	depends on COMMON_CLK
56	depends on OF
57	select GENERIC_PHY
58	help
59	  Support HDMI PHY for Mediatek SoCs.
60
61config PHY_MTK_MIPI_DSI
62	tristate "MediaTek MIPI-DSI Driver"
63	depends on ARCH_MEDIATEK || COMPILE_TEST
64	depends on COMMON_CLK
65	depends on OF
66	select GENERIC_PHY
67	help
68	  Support MIPI DSI for Mediatek SoCs.
69
70config PHY_MTK_DP
71	tristate "MediaTek DP-PHY Driver"
72	depends on ARCH_MEDIATEK || COMPILE_TEST
73	depends on OF
74	select GENERIC_PHY
75	help
76	  Support DisplayPort PHY for MediaTek SoCs.
77