Kconfig (58e16d792a6a8c6b750f637a4649967fcac853dc) Kconfig (203b7ee14d3a38f1b8c44dd86ce0313d8fc4107d)
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"
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
7 depends on ARCH_MEDIATEK && OF
8 depends on ARCH_MEDIATEK || COMPILE_TEST
9 depends on OF
8 select GENERIC_PHY
9 help
10 Say 'Y' here to add support for MediaTek T-PHY driver,
11 it supports multiple usb2.0, usb3.0 ports, PCIe and
12 SATA, and meanwhile supports two version T-PHY which have
13 different banks layout, the T-PHY with shared banks between
14 multi-ports is first version, otherwise is second veriosn,
15 so you can easily distinguish them by banks layout.
16
17config PHY_MTK_UFS
18 tristate "MediaTek UFS M-PHY driver"
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"
19 depends on ARCH_MEDIATEK && OF
21 depends on ARCH_MEDIATEK || COMPILE_TEST
22 depends on OF
20 select GENERIC_PHY
21 help
22 Support for UFS M-PHY on MediaTek chipsets.
23 Enable this to provide vendor-specific probing,
24 initialization, power on and power off flow of
25 specified M-PHYs.
26
27config PHY_MTK_XSPHY
28 tristate "MediaTek XS-PHY Driver"
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"
29 depends on ARCH_MEDIATEK && OF
32 depends on ARCH_MEDIATEK || COMPILE_TEST
33 depends on OF
30 select GENERIC_PHY
31 help
32 Enable this to support the SuperSpeedPlus XS-PHY transceiver for
33 USB3.1 GEN2 controllers on MediaTek chips. The driver supports
34 multiple USB2.0, USB3.1 GEN2 ports.
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.