commit | 7c654683464dc4cd89f9a8198e26336263390b57 | [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 | de6e4a6f5c3cd12ccda8d408ea60079211346e5e [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>