usb: rk3368: set disconnect threshold to 625 mV

The disconnect threshold of 28nm usb phy from innosilicon is
imprecise, if the value set to 575 mV will trigger unnecessary
disconnect interrupt.

Change-Id: I63985fb9257a1142bdad476583c0c141de70618d
Signed-off-by: Yunzhi Li <lyz@rock-chips.com>
This commit is contained in:
Yunzhi Li
2015-10-15 11:51:04 +08:00
committed by Gerrit Code Review
parent 549cd3f338
commit 86f351f5ec

View File

@@ -23,8 +23,8 @@ static void usb20otg_hw_init(void)
/* Turn off differential receiver in suspend mode */
uoc_write(UOC_HIWORD_UPDATE(0, 1, 2), 0x798);
/* Set disconnect detection trigger point to 600mv */
uoc_write(UOC_HIWORD_UPDATE(0, 0xf, 11), 0x79c);
/* Set disconnect detection trigger point to 625mv */
uoc_write(UOC_HIWORD_UPDATE(0x9, 0xf, 11), 0x79c);
/* other haredware init,include:
* DRV_VBUS GPIO init */
@@ -220,8 +220,8 @@ static void usb20ehci_hw_init(void)
{
/* Turn off differential receiver in suspend mode */
uoc_write(UOC_HIWORD_UPDATE(0, 1, 2), 0x7b8);
/* Set disconnect detection trigger point to 600mv */
uoc_write(UOC_HIWORD_UPDATE(1, 0xf, 11), 0x7bc);
/* Set disconnect detection trigger point to 625mv */
uoc_write(UOC_HIWORD_UPDATE(0x9, 0xf, 11), 0x7bc);
/* other haredware init,include:
* DRV_VBUS GPIO init */