mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
phy: rockchip-inno-combphy: tuning lane 0 TX driver swing
This patch tuning lane 0 TX driver swing for USB 3.0 to get larger swing for LFPS. Change-Id: I97d0cea4da86110fed349c07728366640346f7a8 Signed-off-by: William Wu <william.wu@rock-chips.com>
This commit is contained in:
@@ -611,7 +611,15 @@ static int rk1808_combphy_cfg(struct rockchip_combphy_priv *priv)
|
||||
writel(reg, priv->mmio + 0x2000);
|
||||
}
|
||||
|
||||
/* Tuning Tx */
|
||||
/*
|
||||
* Tuning Tx:
|
||||
* offset 0x21b8 bit[7:4]: lane 0 TX driver swing
|
||||
* tuning bits with weight, "1111" represents the
|
||||
* largest swing and "0000" the smallest.
|
||||
*/
|
||||
reg = readl(priv->mmio + 0x21b8);
|
||||
reg = (reg & ~0xf0) | 0xa0;
|
||||
writel(reg, priv->mmio + 0x21b8);
|
||||
|
||||
/*
|
||||
* Tuning Rx for RJTL:
|
||||
|
||||
Reference in New Issue
Block a user