Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
cd4ec4b0 CY |
2 | # |
3 | # Phy drivers for Mediatek devices | |
4 | # | |
5 | config PHY_MTK_TPHY | |
4cb6eea2 | 6 | tristate "MediaTek T-PHY Driver" |
e7b4aaf0 | 7 | depends on ARCH_MEDIATEK || COMPILE_TEST |
d7bb92e3 TY |
8 | depends on OF && OF_ADDRESS |
9 | depends on HAS_IOMEM | |
4cb6eea2 KK |
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 | |
cd4ec4b0 CY |
14 | SATA, and meanwhile supports two version T-PHY which have |
15 | different banks layout, the T-PHY with shared banks between | |
fb89b254 | 16 | multi-ports is first version, otherwise is second version, |
cd4ec4b0 | 17 | so you can easily distinguish them by banks layout. |
c1eb8f83 | 18 | |
54be9c1a SC |
19 | config PHY_MTK_UFS |
20 | tristate "MediaTek UFS M-PHY driver" | |
e7b4aaf0 KK |
21 | depends on ARCH_MEDIATEK || COMPILE_TEST |
22 | depends on OF | |
54be9c1a SC |
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 | ||
c1eb8f83 | 30 | config PHY_MTK_XSPHY |
4cb6eea2 | 31 | tristate "MediaTek XS-PHY Driver" |
e7b4aaf0 | 32 | depends on ARCH_MEDIATEK || COMPILE_TEST |
d7bb92e3 TY |
33 | depends on OF && OF_ADDRESS |
34 | depends on HAS_IOMEM | |
4cb6eea2 KK |
35 | select GENERIC_PHY |
36 | help | |
c1eb8f83 CY |
37 | Enable this to support the SuperSpeedPlus XS-PHY transceiver for |
38 | USB3.1 GEN2 controllers on MediaTek chips. The driver supports | |
39 | multiple USB2.0, USB3.1 GEN2 ports. | |
b28be59a CH |
40 | |
41 | config PHY_MTK_HDMI | |
42 | tristate "MediaTek HDMI-PHY Driver" | |
f5f6e01f AB |
43 | depends on ARCH_MEDIATEK || COMPILE_TEST |
44 | depends on COMMON_CLK | |
45 | depends on OF | |
b28be59a CH |
46 | select GENERIC_PHY |
47 | help | |
48 | Support HDMI PHY for Mediatek SoCs. | |
90f80d95 CKH |
49 | |
50 | config PHY_MTK_MIPI_DSI | |
51 | tristate "MediaTek MIPI-DSI Driver" | |
d092bd91 AB |
52 | depends on ARCH_MEDIATEK || COMPILE_TEST |
53 | depends on COMMON_CLK | |
54 | depends on OF | |
90f80d95 CKH |
55 | select GENERIC_PHY |
56 | help | |
57 | Support MIPI DSI for Mediatek SoCs. |