diff options
author | Kever Yang | 2014-08-06 09:01:50 +0800 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-09-08 15:43:28 -0700 |
commit | c0155b9d5ef29092d39502ec57b0454b2b3c7cc9 (patch) | |
tree | 6c7ada1655a4c741ca043b94a3afc4022598b53a /kernel | |
parent | fc1b0e2aa3251c5f90bb6c70358832e4dab9abfd (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