usb: host: xhci-plat: get the usb3 phy for shared_hcd
authorWilliam Wu <wulf@rock-chips.com>
Tue, 21 Feb 2017 09:37:58 +0000 (17:37 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 22 Feb 2017 06:17:39 +0000 (14:17 +0800)
commitd4179fa84050324620c201e217a7f86e08ef577d
treea46d87a0edb73387627b4baff978e85e76657309
parent1758c75d334c7b321a86708797541e05e9301ec5
usb: host: xhci-plat: get the usb3 phy for shared_hcd

This patch tries to get the USB3 PHY using, and associates
the XHCI shared_hcd device with it.

With this patch, the USB HUB core driver can do USB PHY
operations base on USB PHY framework, e.g. call usb_phy_
notify_connect() or usb_phy_notify_disconnect() to notify
USB PHY driver to do soft connect or soft disconnect.

Change-Id: I3b51181b840a68ae477b764013446f49dbf7ca70
Signed-off-by: William Wu <wulf@rock-chips.com>
drivers/usb/host/xhci-plat.c