mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user