Skip to content
Commit 7c654683 authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Patrice Chotard
Browse files

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: default avatarPatrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
parent de6e4a6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment