Home
last modified time | relevance | path

Searched hist:"631619 a42f9578c0b4232a59f3f3f1b7adfc3090" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/dwc3/
H A Ddwc3-generic.c631619a42f9578c0b4232a59f3f3f1b7adfc3090 Thu Jan 28 02:11:51 UTC 2021 William Wu <william.wu@rock-chips.com> usb: dwc3-generic: support host mode if dr_mode is otg

The Rockchip DWC3 controller only support DRD mode (Dual Role
Device), but not support OTG mode. So if the dr_mode in DTS is
configured to OTG, then we force it to Host mode. This patch
does not affect the device function of OTG, such as rockusb.

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I806623aa9b0bb8b595417755db7d9c6b6c4f38f1