commit | c01090e00bac9a6dd219d26f95e1617f7b035f38 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Tue Jun 18 16:57:18 2019 +0200 |
committer | Patrice Chotard <patrice.chotard@st.com> | Wed Jun 19 16:56:11 2019 +0200 |
tree | 864cd0a8a0d81ed5c9a542424f27ba89270be10f | |
parent | 8ad5f81b2ce383df703e064e035c2f924a5209bb [diff] |
usb: dwc2: allow peripheral mode for OTG configuration Allow device mode in DWC2 driver when device tree select the dr_mode "peripheral" or "otg". The device mode is not allowed when dr_mode = "host" in device tree. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Marek Vasut <marex@denx.de>