diff options
author | Thinh Nguyen | 2018-11-03 02:41:42 +0100 |
---|---|---|
committer | Felipe Balbi | 2018-11-26 08:06:32 +0100 |
commit | 89a9cc47513e91bc91ba2c438d5e422a0c8d05e7 (patch) | |
tree | 2f85749f36d6d8399e21e6d05ab9318d48efc900 /drivers/usb/dwc3/core.h | |
parent | usb: gadget: udc: renesas_usb3: add a safety connection way for forced_b_device (diff) | |
download | kernel-qcow2-linux-89a9cc47513e91bc91ba2c438d5e422a0c8d05e7.tar.gz kernel-qcow2-linux-89a9cc47513e91bc91ba2c438d5e422a0c8d05e7.tar.xz kernel-qcow2-linux-89a9cc47513e91bc91ba2c438d5e422a0c8d05e7.zip |
usb: dwc3: Set default mode for DWC_usb3 v3.30a and higher
DWC_usb31 and DWC_usb3 v3.30a and higher do not support OTG mode. If
the controller supports DRD but the dr_mode is not specified or set to
OTG, then set the mode to peripheral.
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/core.h')
-rw-r--r-- | drivers/usb/dwc3/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 6a77cd0a0b01..eec4b9735fb7 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -1107,6 +1107,7 @@ struct dwc3 { #define DWC3_REVISION_290A 0x5533290a #define DWC3_REVISION_300A 0x5533300a #define DWC3_REVISION_310A 0x5533310a +#define DWC3_REVISION_330A 0x5533330a /* * NOTICE: we're using bit 31 as a "is usb 3.1" flag. This is really |