Skip to content
Commit 23e9b38d authored by Alexandre Bailon's avatar Alexandre Bailon Committed by Kishon Vijay Abraham I
Browse files

phy: da8xx-usb: Configure CFGCHIP2 to support OTG workaround



If we configure the da8xx OTG phy in OTG mode, neither device or host
mode will work. That is because the PHY is not able to detect and notify
the driver that value of ID pin changed.
To work despite this hardware limitation, the da8xx glue implement a
workaround.
But to work, the workaround require the VBUS sense and the session end
comparator to enabled.
Enable them if the phy is configured in OTG mode.

Signed-off-by: default avatarAlexandre Bailon <abailon@baylibre.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent fb954c48
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment