You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
phy: rockchip: usbdp: Fix LFPS detect threshold control
According to the LFPS Tx Low Power/LFPS Rx Detect Threshold [1], the device under test(DUT) must not respond if LFPS below the minimum LFPS Rx Detect Threshold 100mV. Test fail on Rockchip platforms, because the default LFPS detect threshold is set to 65mV. The usbdp phy LFPS detect threshold voltage could be set to 30mV ~ 140mV, and since there could be 10-20% PVT variation, we set LFPS detect threshold voltage to 110mV. [1] https://compliance.usb.org/resources/LFPS_Rx_Tx_Low_Power_Compliance_Update_Rev5.pdf Change-Id: Idf17df242090027b3b8eb731423a1aa536ed8c09 Signed-off-by: William Wu <william.wu@rock-chips.com>
This commit is contained in:
@@ -401,7 +401,8 @@ static const struct reg_sequence udphy_init_sequence[] = {
|
||||
{0x0070, 0x7D}, {0x0074, 0x68},
|
||||
{0x0AF4, 0x1A}, {0x1AF4, 0x1A},
|
||||
{0x0440, 0x3F}, {0x10D4, 0x08},
|
||||
{0x20D4, 0x08}, {0x0024, 0x6e}
|
||||
{0x20D4, 0x08}, {0x0024, 0x6e},
|
||||
{0x09C0, 0x0A}, {0x19C0, 0x0A}
|
||||
};
|
||||
|
||||
static inline int grfreg_write(struct regmap *base,
|
||||
|
||||
Reference in New Issue
Block a user