Skip to content
Commit c0155b9d authored by Kever Yang's avatar Kever Yang Committed by Greg Kroah-Hartman
Browse files

usb: dwc2: add 'mode' which based on Kconfig select or dts setting



According to the "dr_mode", the otg controller can work as
device role and host role. Some boards always want to use host mode
and some other boards want to use gadget mode. We use the dts setting
to set dwc2's mode, rather than fixing it to whatever hardware says.

Signed-off-by: default avatarKever Yang <kever.yang@rock-chips.com>
Acked-by: default avatarPaul Zimmerman <paulz@synopsys.com>
Tested-by: default avatarDoug Anderson <dianders@chromium.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fc1b0e2a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment