Skip to content

Commit

Permalink
phy: mediatek: add XS-PHY driver
Browse files Browse the repository at this point in the history
Support XS-PHY for MediaTek SoCs with USB3.1 GEN2 controller

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
  • Loading branch information
Chunfeng Yun authored and Kishon Vijay Abraham I committed May 20, 2018
1 parent ebd5273 commit c1eb8f8
Show file tree
Hide file tree
Showing 3 changed files with 610 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/phy/mediatek/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,12 @@ config PHY_MTK_TPHY
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.

config PHY_MTK_XSPHY
tristate "MediaTek XS-PHY Driver"
depends on ARCH_MEDIATEK && OF
select GENERIC_PHY
help
Enable this to support the SuperSpeedPlus XS-PHY transceiver for
USB3.1 GEN2 controllers on MediaTek chips. The driver supports
multiple USB2.0, USB3.1 GEN2 ports.
1 change: 1 addition & 0 deletions drivers/phy/mediatek/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
#

obj-$(CONFIG_PHY_MTK_TPHY) += phy-mtk-tphy.o
obj-$(CONFIG_PHY_MTK_XSPHY) += phy-mtk-xsphy.o
Loading

0 comments on commit c1eb8f8

Please sign in to comment.