summaryrefslogtreecommitdiffstats
path: root/drivers/phy/Kconfig
diff options
context:
space:
mode:
authorRyder Lee <ryder.lee@mediatek.com>2019-08-22 12:26:50 +0200
committerTom Rini <trini@konsulko.com>2019-10-11 10:10:18 -0400
commit235bad02e57db3f66473c45677a30886ddd01541 (patch)
treeaf017f1e94e86be665d693038a3fc30904cedc9a /drivers/phy/Kconfig
parent42d37450e50b3a763d95fe1ff46499b9e564596e (diff)
downloadu-boot-235bad02e57db3f66473c45677a30886ddd01541.tar.gz
u-boot-235bad02e57db3f66473c45677a30886ddd01541.tar.xz
u-boot-235bad02e57db3f66473c45677a30886ddd01541.zip
phy: mediatek: add MediaTek T-PHY support for PCIe
The driver provides PHY for USB2, USB3.0, PCIe and SATA, and now we just enable PCIe. As for the other functionalities will be added gradually in upcoming days. This is adapted from the Linux version. Tested-by: Frank Wunderlich <frank-w@public-files.de> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Diffstat (limited to 'drivers/phy/Kconfig')
-rw-r--r--drivers/phy/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 02312273e2..e317373a5c 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -205,4 +205,15 @@ config MT76X8_USB_PHY
This PHY is found on MT76x8 devices supporting USB.
+config PHY_MTK_TPHY
+ bool "MediaTek T-PHY Driver"
+ depends on PHY
+ depends on ARCH_MEDIATEK
+ help
+ MediaTek T-PHY driver supports usb2.0, usb3.0 ports, PCIe and
+ SATA, and meanwhile supports two version T-PHY which have
+ different banks layout, the T-PHY with shared banks between
+ multi-ports is first version, otherwise is second veriosn,
+ so you can easily distinguish them by banks layout.
+
endmenu