]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: add ehci otg support
authorDinh Nguyen <r00091@freescale.com>
Wed, 16 Sep 2009 16:31:02 +0000 (11:31 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:32:29 +0000 (08:32 +0200)
Add OTG support to ehci host controllers

Signed-off-by: Dinh Nguyen <r00091@freescale.com>
drivers/usb/host/ehci.h

index 3ffb27f472c2e49ee619b8e493d0267c8cfb59b5..9b9701fc1acc8fe5df00e37b108d8f5032453b36 100644 (file)
@@ -152,6 +152,11 @@ struct ehci_hcd {                  /* one per controller */
        unsigned                has_ppcd:1; /* support per-port change bits */
        u8                      sbrn;           /* packed release number */
 
+       /*
+        * OTG controllers and transceivers need software interaction;
+        * other external transceivers should be software-transparent
+        */
+       struct otg_transceiver   *transceiver;
        /* irq statistics */
 #ifdef EHCI_STATS
        struct ehci_stats       stats;