phy: rockchip: naneng-combphy: Set gate_tx_pck_sel length select work for L1SS

This configuration is required for Gen1 l1ss support.

Change-Id: I921d1551dbbb4e85f823ce9ce0abbb96198d2ccf
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
Jon Lin
2022-05-11 15:25:38 +08:00
committed by Tao Huang
parent e18dfa93d0
commit c79cf2c1a8
@@ -775,6 +775,10 @@ static int rk3588_combphy_cfg(struct rockchip_combphy_priv *priv)
case 100000000:
param_write(priv->phy_grf, &cfg->pipe_clk_100m, true);
if (priv->mode == PHY_TYPE_PCIE) {
/* gate_tx_pck_sel length select work for L1SS */
val = 0xc0;
writel(val, priv->mmio + 0x74);
/* PLL KVCO tuning fine */
val = readl(priv->mmio + (0x20 << 2));
val &= ~GENMASK(4, 2);