@@ -1245,8 +1245,8 @@ static const struct qmp_phy_init_tbl x1e80100_qmp_gen4x2_pcie_serdes_tbl[] = {
1245
1245
static const struct qmp_phy_init_tbl x1e80100_qmp_gen4x2_pcie_ln_shrd_tbl [] = {
1246
1246
QMP_PHY_INIT_CFG (QSERDES_V6_LN_SHRD_RXCLK_DIV2_CTRL , 0x01 ),
1247
1247
QMP_PHY_INIT_CFG (QSERDES_V6_LN_SHRD_DFE_DAC_ENABLE1 , 0x88 ),
1248
- QMP_PHY_INIT_CFG (QSERDES_V6_LN_SHRD_TX_ADAPT_POST_THRESH1 , 0x00 ),
1249
- QMP_PHY_INIT_CFG (QSERDES_V6_LN_SHRD_TX_ADAPT_POST_THRESH2 , 0x1f ),
1248
+ QMP_PHY_INIT_CFG (QSERDES_V6_LN_SHRD_TX_ADAPT_POST_THRESH1 , 0x02 ),
1249
+ QMP_PHY_INIT_CFG (QSERDES_V6_LN_SHRD_TX_ADAPT_POST_THRESH2 , 0x0d ),
1250
1250
QMP_PHY_INIT_CFG (QSERDES_V6_LN_SHRD_RX_MODE_RATE_0_1_B0 , 0xd4 ),
1251
1251
QMP_PHY_INIT_CFG (QSERDES_V6_LN_SHRD_RX_MODE_RATE_0_1_B1 , 0x12 ),
1252
1252
QMP_PHY_INIT_CFG (QSERDES_V6_LN_SHRD_RX_MODE_RATE_0_1_B2 , 0xdb ),
@@ -1263,6 +1263,7 @@ static const struct qmp_phy_init_tbl x1e80100_qmp_gen4x2_pcie_ln_shrd_tbl[] = {
1263
1263
QMP_PHY_INIT_CFG (QSERDES_V6_LN_SHRD_RX_MARG_COARSE_THRESH4_RATE3 , 0x1f ),
1264
1264
QMP_PHY_INIT_CFG (QSERDES_V6_LN_SHRD_RX_MARG_COARSE_THRESH5_RATE3 , 0x1f ),
1265
1265
QMP_PHY_INIT_CFG (QSERDES_V6_LN_SHRD_RX_MARG_COARSE_THRESH6_RATE3 , 0x1f ),
1266
+ QMP_PHY_INIT_CFG (QSERDES_V6_LN_SHRD_RX_SUMMER_CAL_SPD_MODE , 0x5b ),
1266
1267
};
1267
1268
1268
1269
static const struct qmp_phy_init_tbl x1e80100_qmp_gen4x2_pcie_tx_tbl [] = {
@@ -1286,12 +1287,15 @@ static const struct qmp_phy_init_tbl x1e80100_qmp_gen4x2_pcie_rx_tbl[] = {
1286
1287
QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_DFE_1 , 0x01 ),
1287
1288
QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_DFE_2 , 0x01 ),
1288
1289
QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_DFE_3 , 0x45 ),
1289
- QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_VGA_CAL_MAN_VAL , 0x0b ),
1290
+ QMP_PHY_INIT_CFG_LANE (QSERDES_V6_20_RX_VGA_CAL_MAN_VAL , 0x0a , 1 ),
1291
+ QMP_PHY_INIT_CFG_LANE (QSERDES_V6_20_RX_VGA_CAL_MAN_VAL , 0x0b , 2 ),
1292
+ QMP_PHY_INIT_CFG (QSERDES_V6_20_VGA_CAL_CNTRL1 , 0x00 ),
1290
1293
QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_GM_CAL , 0x0d ),
1291
1294
QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_EQU_ADAPTOR_CNTRL4 , 0x0b ),
1292
1295
QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_SIGDET_ENABLES , 0x1c ),
1293
1296
QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_PHPRE_CTRL , 0x20 ),
1294
- QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_DFE_CTLE_POST_CAL_OFFSET , 0x38 ),
1297
+ QMP_PHY_INIT_CFG_LANE (QSERDES_V6_20_RX_DFE_CTLE_POST_CAL_OFFSET , 0x3a , 1 ),
1298
+ QMP_PHY_INIT_CFG_LANE (QSERDES_V6_20_RX_DFE_CTLE_POST_CAL_OFFSET , 0x38 , 2 ),
1295
1299
QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_Q_PI_INTRINSIC_BIAS_RATE32 , 0x39 ),
1296
1300
QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_MODE_RATE2_B0 , 0x14 ),
1297
1301
QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_MODE_RATE2_B1 , 0xb3 ),
@@ -1307,13 +1311,16 @@ static const struct qmp_phy_init_tbl x1e80100_qmp_gen4x2_pcie_rx_tbl[] = {
1307
1311
QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_MODE_RATE3_B4 , 0x4b ),
1308
1312
QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_MODE_RATE3_B5 , 0x76 ),
1309
1313
QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_MODE_RATE3_B6 , 0xff ),
1314
+ QMP_PHY_INIT_CFG (QSERDES_V6_20_RX_TX_ADPT_CTRL , 0x10 ),
1310
1315
};
1311
1316
1312
1317
static const struct qmp_phy_init_tbl x1e80100_qmp_gen4x2_pcie_pcs_tbl [] = {
1313
1318
QMP_PHY_INIT_CFG (QPHY_V6_20_PCS_G3S2_PRE_GAIN , 0x2e ),
1314
1319
QMP_PHY_INIT_CFG (QPHY_V6_20_PCS_RX_SIGDET_LVL , 0xcc ),
1315
1320
QMP_PHY_INIT_CFG (QPHY_V6_20_PCS_EQ_CONFIG4 , 0x00 ),
1316
1321
QMP_PHY_INIT_CFG (QPHY_V6_20_PCS_EQ_CONFIG5 , 0x22 ),
1322
+ QMP_PHY_INIT_CFG (QPHY_V6_20_PCS_TX_RX_CONFIG1 , 0x04 ),
1323
+ QMP_PHY_INIT_CFG (QPHY_V6_20_PCS_TX_RX_CONFIG2 , 0x02 ),
1317
1324
};
1318
1325
1319
1326
static const struct qmp_phy_init_tbl x1e80100_qmp_gen4x2_pcie_pcs_misc_tbl [] = {
@@ -1324,11 +1331,13 @@ static const struct qmp_phy_init_tbl x1e80100_qmp_gen4x2_pcie_pcs_misc_tbl[] = {
1324
1331
QMP_PHY_INIT_CFG (QPHY_PCIE_V6_20_PCS_G4_PRE_GAIN , 0x2e ),
1325
1332
QMP_PHY_INIT_CFG (QPHY_PCIE_V6_20_PCS_RX_MARGINING_CONFIG1 , 0x03 ),
1326
1333
QMP_PHY_INIT_CFG (QPHY_PCIE_V6_20_PCS_RX_MARGINING_CONFIG3 , 0x28 ),
1334
+ QMP_PHY_INIT_CFG (QPHY_PCIE_V6_20_PCS_G3_RXEQEVAL_TIME , 0x27 ),
1335
+ QMP_PHY_INIT_CFG (QPHY_PCIE_V6_20_PCS_G4_RXEQEVAL_TIME , 0x27 ),
1327
1336
QMP_PHY_INIT_CFG (QPHY_PCIE_V6_20_PCS_TX_RX_CONFIG , 0xc0 ),
1328
1337
QMP_PHY_INIT_CFG (QPHY_PCIE_V6_20_PCS_POWER_STATE_CONFIG2 , 0x1d ),
1329
- QMP_PHY_INIT_CFG (QPHY_PCIE_V6_20_PCS_RX_MARGINING_CONFIG5 , 0x0f ),
1330
- QMP_PHY_INIT_CFG (QPHY_PCIE_V6_20_PCS_G3_FOM_EQ_CONFIG5 , 0xf2 ),
1331
- QMP_PHY_INIT_CFG (QPHY_PCIE_V6_20_PCS_G4_FOM_EQ_CONFIG5 , 0xf2 ),
1338
+ QMP_PHY_INIT_CFG (QPHY_PCIE_V6_20_PCS_RX_MARGINING_CONFIG5 , 0x18 ),
1339
+ QMP_PHY_INIT_CFG (QPHY_PCIE_V6_20_PCS_G3_FOM_EQ_CONFIG5 , 0x7a ),
1340
+ QMP_PHY_INIT_CFG (QPHY_PCIE_V6_20_PCS_G4_FOM_EQ_CONFIG5 , 0x8a ),
1332
1341
};
1333
1342
1334
1343
static const struct qmp_phy_init_tbl sm8250_qmp_pcie_serdes_tbl [] = {
0 commit comments