summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2014-08-19 09:51:52 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-23 21:28:41 -0700
commitf2693b430b33d9554daa0f21fbcae57633f8d4f1 (patch)
tree0045ce60eab786a763c28eecc4455d85d47e631a /include/linux/usb
parentc68929f75dfcb6354918862b91b5778585de1fa5 (diff)
downloadop-kernel-dev-f2693b430b33d9554daa0f21fbcae57633f8d4f1.zip
op-kernel-dev-f2693b430b33d9554daa0f21fbcae57633f8d4f1.tar.gz
usb: hcd: add TPL support flag
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>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/hcd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h
index 485cd5e..a48c89e 100644
--- a/include/linux/usb/hcd.h
+++ b/include/linux/usb/hcd.h
@@ -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 */
OpenPOWER on IntegriCloud