diff options
author | John Youn <John.Youn@synopsys.com> | 2015-12-17 11:16:17 -0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-12-22 11:55:46 -0600 |
commit | 6bea962053e76a4407f0d138184a8737eea960ee (patch) | |
tree | d276638c1eb4e6d67dd413d62fdeab1ff3d2e621 /drivers/usb/dwc2/platform.c | |
parent | b5d308abef1c5c0f24128845e41d414a8f8438f6 (diff) | |
download | lwn-6bea962053e76a4407f0d138184a8737eea960ee.tar.gz lwn-6bea962053e76a4407f0d138184a8737eea960ee.zip |
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>
Diffstat (limited to 'drivers/usb/dwc2/platform.c')
0 files changed, 0 insertions, 0 deletions