aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorKever Yang2014-08-06 09:01:50 +0800
committerGreg Kroah-Hartman2014-09-08 15:43:28 -0700
commitc0155b9d5ef29092d39502ec57b0454b2b3c7cc9 (patch)
tree6c7ada1655a4c741ca043b94a3afc4022598b53a /kernel
parentfc1b0e2aa3251c5f90bb6c70358832e4dab9abfd (diff)
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: Kever Yang <kever.yang@rock-chips.com> Acked-by: Paul Zimmerman <paulz@synopsys.com> Tested-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions