]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
phy: phy-mt65xx-usb3: split SuperSpeed port into two ones
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Fri, 31 Mar 2017 07:35:29 +0000 (15:35 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 10 Apr 2017 11:13:40 +0000 (16:43 +0530)
commit04466efca58f69f0a220af63de5d3c597beb477d
tree456e436ec9ae7598cd03a1f3e1425f950984d9d3
parent98cd83a056e9afc342caaae7d181e33cce18f3c1
phy: phy-mt65xx-usb3: split SuperSpeed port into two ones

Currently usb3 port in fact includes two sub-ports, but it is not
flexible for some cases, such as following one:
    usb3 port0 includes u2port0 and u3port0;
    usb2 port0 includes u2port1;
If wants to support only HS, we can use u2port0 or u2port1, when
select u2port0, u3port0 is not needed;
If wants to support SS, we can compound u2port0 and u3port0,
or u2port1 and u3port0, if select latter one, u2port0 is not needed.

So it's more flexible to split usb3 port into two ones and also try
best to save power by disabling unnecessary ports.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-mt65xx-usb3.c