xref: /OK3568_Linux_fs/kernel/drivers/phy/mediatek/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Phy drivers for Mediatek devices
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyunconfig PHY_MTK_TPHY
6*4882a593Smuzhiyun	tristate "MediaTek T-PHY Driver"
7*4882a593Smuzhiyun	depends on ARCH_MEDIATEK || COMPILE_TEST
8*4882a593Smuzhiyun	depends on OF
9*4882a593Smuzhiyun	select GENERIC_PHY
10*4882a593Smuzhiyun	help
11*4882a593Smuzhiyun	  Say 'Y' here to add support for MediaTek T-PHY driver,
12*4882a593Smuzhiyun	  it supports multiple usb2.0, usb3.0 ports, PCIe and
13*4882a593Smuzhiyun	  SATA, and meanwhile supports two version T-PHY which have
14*4882a593Smuzhiyun	  different banks layout, the T-PHY with shared banks between
15*4882a593Smuzhiyun	  multi-ports is first version, otherwise is second version,
16*4882a593Smuzhiyun	  so you can easily distinguish them by banks layout.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyunconfig PHY_MTK_UFS
19*4882a593Smuzhiyun	tristate "MediaTek UFS M-PHY driver"
20*4882a593Smuzhiyun	depends on ARCH_MEDIATEK || COMPILE_TEST
21*4882a593Smuzhiyun	depends on OF
22*4882a593Smuzhiyun	select GENERIC_PHY
23*4882a593Smuzhiyun	help
24*4882a593Smuzhiyun	  Support for UFS M-PHY on MediaTek chipsets.
25*4882a593Smuzhiyun	  Enable this to provide vendor-specific probing,
26*4882a593Smuzhiyun	  initialization, power on and power off flow of
27*4882a593Smuzhiyun	  specified M-PHYs.
28*4882a593Smuzhiyun
29*4882a593Smuzhiyunconfig PHY_MTK_XSPHY
30*4882a593Smuzhiyun	tristate "MediaTek XS-PHY Driver"
31*4882a593Smuzhiyun	depends on ARCH_MEDIATEK || COMPILE_TEST
32*4882a593Smuzhiyun	depends on OF
33*4882a593Smuzhiyun	select GENERIC_PHY
34*4882a593Smuzhiyun	help
35*4882a593Smuzhiyun	  Enable this to support the SuperSpeedPlus XS-PHY transceiver for
36*4882a593Smuzhiyun	  USB3.1 GEN2 controllers on MediaTek chips. The driver supports
37*4882a593Smuzhiyun	  multiple USB2.0, USB3.1 GEN2 ports.
38*4882a593Smuzhiyun
39*4882a593Smuzhiyunconfig PHY_MTK_HDMI
40*4882a593Smuzhiyun	tristate "MediaTek HDMI-PHY Driver"
41*4882a593Smuzhiyun	depends on ARCH_MEDIATEK || COMPILE_TEST
42*4882a593Smuzhiyun	depends on COMMON_CLK
43*4882a593Smuzhiyun	depends on OF
44*4882a593Smuzhiyun	select GENERIC_PHY
45*4882a593Smuzhiyun	help
46*4882a593Smuzhiyun	  Support HDMI PHY for Mediatek SoCs.
47