Skip to content
Commit 6bea9620 authored by John Youn's avatar John Youn Committed by Felipe Balbi
Browse files

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: default avatarJohn Youn <johnyoun@synopsys.com>
Tested-by: default avatarDouglas Anderson <dianders@chromium.org>
Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent b5d308ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment