usb: hcd: add generic PHY support

Add the generic PHY support, analogous to the USB PHY support. Intended it to be
used with the PCI EHCI/OHCI drivers and the xHCI platform driver.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sergei Shtylyov
2014-09-24 23:09:44 +04:00
committed by Greg Kroah-Hartman
parent 3d46e73dfd
commit 0043325495
2 changed files with 41 additions and 2 deletions

View File

@@ -107,6 +107,7 @@ struct usb_hcd {
* other external phys should be software-transparent
*/
struct usb_phy *usb_phy;
struct phy *phy;
/* Flags that need to be manipulated atomically because they can
* change while the host controller is running. Always use