Linux-libre 5.4.49-gnu
[librecmc/linux-libre.git] / drivers / phy / mediatek / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Phy drivers for Mediatek devices
4 #
5 config PHY_MTK_TPHY
6     tristate "MediaTek T-PHY Driver"
7     depends on ARCH_MEDIATEK && 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
17 config PHY_MTK_UFS
18         tristate "MediaTek UFS M-PHY driver"
19         depends on ARCH_MEDIATEK && 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
27 config PHY_MTK_XSPHY
28     tristate "MediaTek XS-PHY Driver"
29     depends on ARCH_MEDIATEK && 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.