Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e203009d authored by Hemant Kumar's avatar Hemant Kumar Committed by Hridya Valsaraju
Browse files

ANDROID: GKI: usb: dwc3: Add USB_DR_MODE_DRD as dual role mode



dwc_usb31 supports DRD only mode. It does not support
USB OTG mode. SNPS core consultant parameter DWC_USB3_EN_OTG
is not set for dwc_usb31. Hence add USB_DR_MODE_DRD which
reflects support for host and device mode support without
supporting USB OTG features.

Bug: 150901210
Test: make

Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
Change-Id: If3b683d4d47f0eb846a2ac302aff8848096395b9
(cherry picked from commit d4c4fb2d)
[hridya: commit amended to only include the ABI diff]
Signed-off-by: default avatarHridya Valsaraju <hridya@google.com>
parent 3b108348
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -118,6 +118,7 @@ enum usb_dr_mode {
	USB_DR_MODE_HOST,
	USB_DR_MODE_PERIPHERAL,
	USB_DR_MODE_OTG,
	USB_DR_MODE_DRD,
};

/**