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