usb: u2phy: add support for otg function
authorMeng Dongyang <daniel.meng@rock-chips.com>
Sun, 11 Sep 2016 08:30:04 +0000 (16:30 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 23 Sep 2016 13:41:32 +0000 (21:41 +0800)
commit7f7a1313ef0eab26c22229398ac09ab73027d296
tree2453068f06d71536a08e6c817a792e2fcf245aa0
parent5c2303a10bc74ed8cff61e9c54a51cbd74a8cabe
usb: u2phy: add support for otg function

In the case of platform designed in usb2.0 only mode, which
the dwc3 controller connect without fusb302 and type-c phy
does not work, the u2phy need to support hot plug and detect
otg mode, this patch add support of otg function in this mode.

Change-Id: I428a4f6d17d847c6114d124733e62c0a6236b94e
Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
drivers/phy/phy-rockchip-inno-usb2.c