mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
phy: rockchip: naneng-combphy: fix U3 RX long cable test failed for RK3528
1.Set slow slew rate control for PI 2.Set CDR phase path with 2x gain Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com> Change-Id: I2d0811b0be7b1d4764ecd738d069b06e4da5eaa2
This commit is contained in:
@@ -483,6 +483,18 @@ static int rk3528_combphy_cfg(struct rockchip_combphy_priv *priv)
|
||||
val |= 0x01 << 17;
|
||||
writel(val, priv->mmio + 0x200);
|
||||
|
||||
/* Set slow slew rate control for PI */
|
||||
val = readl(priv->mmio + 0x204);
|
||||
val &= ~GENMASK(2, 0);
|
||||
val |= 0x07;
|
||||
writel(val, priv->mmio + 0x204);
|
||||
|
||||
/* Set CDR phase path with 2x gain */
|
||||
val = readl(priv->mmio + 0x204);
|
||||
val &= ~GENMASK(5, 5);
|
||||
val |= 0x01 << 5;
|
||||
writel(val, priv->mmio + 0x204);
|
||||
|
||||
/* Set Rx squelch input filler bandwidth */
|
||||
val = readl(priv->mmio + 0x20c);
|
||||
val &= ~GENMASK(2, 0);
|
||||
|
||||
Reference in New Issue
Block a user