mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
phy: rockchip: naneng-combphy: Fix swing to 650mv under 100M refclk for rk3562
Change-Id: Ia71ec0851c1d1bc686277a49af70488f413f423c Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
@@ -684,6 +684,12 @@ static int rk3562_combphy_cfg(struct rockchip_combphy_priv *priv)
|
|||||||
|
|
||||||
writel(0x32, priv->mmio + (0x11 << 2));
|
writel(0x32, priv->mmio + (0x11 << 2));
|
||||||
writel(0xf0, priv->mmio + (0xa << 2));
|
writel(0xf0, priv->mmio + (0xa << 2));
|
||||||
|
|
||||||
|
/* CKDRV output swing adjust to 650mv */
|
||||||
|
val = readl(priv->mmio + (0xd << 2));
|
||||||
|
val &= ~(0xf << 1);
|
||||||
|
val |= 0xb;
|
||||||
|
writel(val, priv->mmio + (0xd << 2));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user