forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/phy/mediatek/Kconfig
....@@ -1,23 +1,46 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Phy drivers for Mediatek devices
34 #
45 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
1113 SATA, and meanwhile supports two version T-PHY which have
1214 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,
1416 so you can easily distinguish them by banks layout.
1517
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
+
1629 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
2135 Enable this to support the SuperSpeedPlus XS-PHY transceiver for
2236 USB3.1 GEN2 controllers on MediaTek chips. The driver supports
2337 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.