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