commit | 6bea962053e76a4407f0d138184a8737eea960ee | [log] [tgz] |
---|---|---|
author | John Youn <John.Youn@synopsys.com> | Thu Dec 17 11:16:17 2015 -0800 |
committer | Felipe Balbi <balbi@ti.com> | Tue Dec 22 11:55:46 2015 -0600 |
tree | d276638c1eb4e6d67dd413d62fdeab1ff3d2e621 | |
parent | b5d308abef1c5c0f24128845e41d414a8f8438f6 [diff] |
usb: dwc2: Add functions to check the HW OTG config Added functions to query the GHWCFG2.OTG_MODE. This tells us whether the controller hardware is configured for OTG, device-only, or host-only. Signed-off-by: John Youn <johnyoun@synopsys.com> Tested-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Felipe Balbi <balbi@ti.com>