summaryrefslogtreecommitdiff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@nxp.com>2017-07-19 16:27:02 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commitfc223e18487cab8d80dd61f8fe30b61642e0f6d8 (patch)
tree73670abe4c6a20a3db87b0a79b90992f1c437188 /drivers/usb/host
parent359a06a19b35df0b28323660d07e2a446340a132 (diff)
MLK-16065-8 usb: host: xhci: add XHCI_SKIP_ACCESS_RESERVED_REG quirk
The IMX XHCI host which uses cadence USB3 IP is not compatible with xHCI spec, the controller will trigger an exception if visiting reserved registers, but the xHCI spec does not forbid it, so add one quirk for skipping access reserved registers. Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/xhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index 3e84aac2a926..0a5b22bb58a9 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1666,6 +1666,7 @@ struct xhci_hcd {
#define XHCI_LIMIT_ENDPOINT_INTERVAL_7 (1 << 26)
/* Reserved. It was XHCI_U2_DISABLE_WAKE */
#define XHCI_ASMEDIA_MODIFY_FLOWCONTROL (1 << 28)
+#define XHCI_SKIP_ACCESS_RESERVED_REG (1 << 29)
unsigned int num_active_eps;
unsigned int limit_active_eps;