USB: move transceiver from ehci_hcd and ohci_hcd to hcd and rename it as phy
[firefly-linux-kernel-4.4.55.git] / include / linux / usb / hcd.h
index 7f855d50cdf5567b66b31f2bfb073ac025357c00..c532cbeabfbc8d79c8b054c77978fcdd282bed94 100644 (file)
@@ -93,6 +93,12 @@ struct usb_hcd {
         */
        const struct hc_driver  *driver;        /* hw-specific hooks */
 
+       /*
+        * OTG and some Host controllers need software interaction with phys;
+        * other external phys should be software-transparent
+        */
+       struct usb_phy  *phy;
+
        /* Flags that need to be manipulated atomically because they can
         * change while the host controller is running.  Always use
         * set_bit() or clear_bit() to change their values.