phy: rockchip: inno-usb2: change HS disconnect detect mode for RV1106

This patch set HS disconnect detect mode to single ended detect mode
for RV1106, fix RV1106 can not recognize device plug out sometimes.

Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com>
Change-Id: I6ee6ded4cc12032cf2825eadd207c1e5003957cd
This commit is contained in:
Jianwei Zheng
2023-03-01 15:23:57 +08:00
committed by Tao Huang
parent f368f6b087
commit b80051be40

View File

@@ -2835,6 +2835,9 @@ static int rv1106_usb2phy_tuning(struct rockchip_usb2phy *rphy)
phy_update_bits(rphy->phy_base + 0x1a4, GENMASK(7, 4), (0x01 << 4));
phy_update_bits(rphy->phy_base + 0x1b4, GENMASK(7, 4), (0x01 << 4));
/* Set HS disconnect detect mode to single ended detect mode */
phy_set_bits(rphy->phy_base + 0x70, BIT(2));
return 0;
}