summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc2/core.h
diff options
context:
space:
mode:
authorJohn Youn <johnyoun@synopsys.com>2016-09-08 05:39:40 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-09-08 14:02:52 +0300
commitfef6bc37dbafe0d6d71c808c8867a8c5ab4b9816 (patch)
tree49ce6e8972a41b8ed336dffc1c8dce912cc79b5e /drivers/usb/dwc2/core.h
parentd0f0ac56b34b28e80223d7086b4decdf027c27ed (diff)
downloadlinux-fef6bc37dbafe0d6d71c808c8867a8c5ab4b9816.tar.xz
usb: dwc2: Add delay to core soft reset
Add a delay to the core soft reset function to account for the IDDIG debounce filter. If the current mode is host, either due to the force mode bit being set (which persists after core reset) or the connector id pin, a core soft reset will temporarily reset the mode to device and a delay from the IDDIG debounce filter will occur before going back to host mode. Tested-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc2/core.h')
-rw-r--r--drivers/usb/dwc2/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h
index 78526eedf519..466c220914d4 100644
--- a/drivers/usb/dwc2/core.h
+++ b/drivers/usb/dwc2/core.h
@@ -882,6 +882,7 @@ struct dwc2_hsotg {
#define DWC2_CORE_REV_2_92a 0x4f54292a
#define DWC2_CORE_REV_2_94a 0x4f54294a
#define DWC2_CORE_REV_3_00a 0x4f54300a
+#define DWC2_CORE_REV_3_10a 0x4f54310a
#if IS_ENABLED(CONFIG_USB_DWC2_HOST) || IS_ENABLED(CONFIG_USB_DWC2_DUAL_ROLE)
union dwc2_hcd_internal_flags {