usb: hcd: add TPL support flag
authorPeter Chen <peter.chen@freescale.com>
Tue, 19 Aug 2014 01:51:52 +0000 (09:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 04:28:41 +0000 (21:28 -0700)
The targeted hosts (non-PC hosts) need to have TPL (Targeted Peripheral List)
for USB OTG & EH certification and other vendor specific requirements.

The platform who needs TPL feature should set this flag at usb host
controller driver.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/usb/hcd.h

index 485cd5e2100c426ed29969c68bc50890c72e9aed..a48c89e96988630e67db50feb7ab5ca34d9c25a9 100644 (file)
@@ -144,6 +144,7 @@ struct usb_hcd {
        unsigned                has_tt:1;       /* Integrated TT in root hub */
        unsigned                amd_resume_bug:1; /* AMD remote wakeup quirk */
        unsigned                can_do_streams:1; /* HC supports streams */
+       unsigned                tpl_support:1; /* OTG & EH TPL support */
 
        unsigned int            irq;            /* irq allocated */
        void __iomem            *regs;          /* device memory/io */