phy: rockchip-inno-usb2: add bypass uart cfgs for rk1808

This patch adds bypass uart cfgs for rk1808 USB 3.0 OTG
port. In addition, please note that it needs to set the
uart2 rx/tx io selection in the reg "BUS_GRF_IOFUNC_CON0"
bit 15:14.

Change-Id: I77ea461be299c0454f5caee1349110b6f2714c30
Signed-off-by: William Wu <william.wu@rock-chips.com>
This commit is contained in:
William Wu
2018-12-11 11:12:56 +08:00
parent 5ae861fe4e
commit fda83c6dbf

View File

@@ -2149,6 +2149,8 @@ static const struct rockchip_usb2phy_cfg rk1808_phy_cfgs[] = {
.bvalid_det_en = { 0x0110, 2, 2, 0, 1 },
.bvalid_det_st = { 0x0114, 2, 2, 0, 1 },
.bvalid_det_clr = { 0x0118, 2, 2, 0, 1 },
.bypass_dm_en = { 0x0108, 2, 2, 0, 1},
.bypass_sel = { 0x0108, 3, 3, 0, 1},
.iddig_output = { 0x0100, 10, 10, 0, 1 },
.iddig_en = { 0x0100, 9, 9, 0, 1 },
.idfall_det_en = { 0x0110, 5, 5, 0, 1 },