@@ -1112,8 +1112,6 @@ static const struct qmp_phy_init_tbl sc8280xp_usb3_uniphy_pcs_tbl[] = {
1112
1112
QMP_PHY_INIT_CFG (QPHY_V5_PCS_RCVR_DTCT_DLY_P1U2_H , 0x03 ),
1113
1113
QMP_PHY_INIT_CFG (QPHY_V5_PCS_RX_SIGDET_LVL , 0xaa ),
1114
1114
QMP_PHY_INIT_CFG (QPHY_V5_PCS_PCS_TX_RX_CONFIG , 0x0c ),
1115
- QMP_PHY_INIT_CFG (QPHY_V5_PCS_USB3_RXEQTRAINING_DFE_TIME_S2 , 0x07 ),
1116
- QMP_PHY_INIT_CFG (QPHY_V5_PCS_USB3_LFPS_DET_HIGH_COUNT_VAL , 0xf8 ),
1117
1115
QMP_PHY_INIT_CFG (QPHY_V5_PCS_CDR_RESET_TIME , 0x0a ),
1118
1116
QMP_PHY_INIT_CFG (QPHY_V5_PCS_ALIGN_DETECT_CONFIG1 , 0x88 ),
1119
1117
QMP_PHY_INIT_CFG (QPHY_V5_PCS_ALIGN_DETECT_CONFIG2 , 0x13 ),
@@ -1122,6 +1120,11 @@ static const struct qmp_phy_init_tbl sc8280xp_usb3_uniphy_pcs_tbl[] = {
1122
1120
QMP_PHY_INIT_CFG (QPHY_V5_PCS_REFGEN_REQ_CONFIG1 , 0x21 ),
1123
1121
};
1124
1122
1123
+ static const struct qmp_phy_init_tbl sc8280xp_usb3_uniphy_pcs_usb_tbl [] = {
1124
+ QMP_PHY_INIT_CFG (QPHY_V5_PCS_USB3_RXEQTRAINING_DFE_TIME_S2 , 0x07 ),
1125
+ QMP_PHY_INIT_CFG (QPHY_V5_PCS_USB3_LFPS_DET_HIGH_COUNT_VAL , 0xf8 ),
1126
+ };
1127
+
1125
1128
static const struct qmp_phy_init_tbl sa8775p_usb3_uniphy_pcs_tbl [] = {
1126
1129
QMP_PHY_INIT_CFG (QPHY_V5_PCS_LOCK_DETECT_CONFIG1 , 0xc4 ),
1127
1130
QMP_PHY_INIT_CFG (QPHY_V5_PCS_LOCK_DETECT_CONFIG2 , 0x89 ),
@@ -1131,9 +1134,6 @@ static const struct qmp_phy_init_tbl sa8775p_usb3_uniphy_pcs_tbl[] = {
1131
1134
QMP_PHY_INIT_CFG (QPHY_V5_PCS_RCVR_DTCT_DLY_P1U2_H , 0x03 ),
1132
1135
QMP_PHY_INIT_CFG (QPHY_V5_PCS_RX_SIGDET_LVL , 0xaa ),
1133
1136
QMP_PHY_INIT_CFG (QPHY_V5_PCS_PCS_TX_RX_CONFIG , 0x0c ),
1134
- QMP_PHY_INIT_CFG (QPHY_V5_PCS_USB3_RXEQTRAINING_DFE_TIME_S2 , 0x07 ),
1135
- QMP_PHY_INIT_CFG (QPHY_V5_PCS_USB3_LFPS_DET_HIGH_COUNT_VAL , 0xf8 ),
1136
- QMP_PHY_INIT_CFG (QPHY_V5_PCS_USB3_POWER_STATE_CONFIG1 , 0x6f ),
1137
1137
QMP_PHY_INIT_CFG (QPHY_V5_PCS_CDR_RESET_TIME , 0x0a ),
1138
1138
QMP_PHY_INIT_CFG (QPHY_V5_PCS_ALIGN_DETECT_CONFIG1 , 0x88 ),
1139
1139
QMP_PHY_INIT_CFG (QPHY_V5_PCS_ALIGN_DETECT_CONFIG2 , 0x13 ),
@@ -1142,6 +1142,12 @@ static const struct qmp_phy_init_tbl sa8775p_usb3_uniphy_pcs_tbl[] = {
1142
1142
QMP_PHY_INIT_CFG (QPHY_V5_PCS_REFGEN_REQ_CONFIG1 , 0x21 ),
1143
1143
};
1144
1144
1145
+ static const struct qmp_phy_init_tbl sa8775p_usb3_uniphy_pcs_usb_tbl [] = {
1146
+ QMP_PHY_INIT_CFG (QPHY_V5_PCS_USB3_RXEQTRAINING_DFE_TIME_S2 , 0x07 ),
1147
+ QMP_PHY_INIT_CFG (QPHY_V5_PCS_USB3_LFPS_DET_HIGH_COUNT_VAL , 0xf8 ),
1148
+ QMP_PHY_INIT_CFG (QPHY_V5_PCS_USB3_POWER_STATE_CONFIG1 , 0x6f ),
1149
+ };
1150
+
1145
1151
struct qmp_usb_offsets {
1146
1152
u16 serdes ;
1147
1153
u16 pcs ;
@@ -1383,6 +1389,8 @@ static const struct qmp_phy_cfg sa8775p_usb3_uniphy_cfg = {
1383
1389
.rx_tbl_num = ARRAY_SIZE (sc8280xp_usb3_uniphy_rx_tbl ),
1384
1390
.pcs_tbl = sa8775p_usb3_uniphy_pcs_tbl ,
1385
1391
.pcs_tbl_num = ARRAY_SIZE (sa8775p_usb3_uniphy_pcs_tbl ),
1392
+ .pcs_usb_tbl = sa8775p_usb3_uniphy_pcs_usb_tbl ,
1393
+ .pcs_usb_tbl_num = ARRAY_SIZE (sa8775p_usb3_uniphy_pcs_usb_tbl ),
1386
1394
.clk_list = qmp_v4_phy_clk_l ,
1387
1395
.num_clks = ARRAY_SIZE (qmp_v4_phy_clk_l ),
1388
1396
.reset_list = qcm2290_usb3phy_reset_l ,
@@ -1405,6 +1413,8 @@ static const struct qmp_phy_cfg sc8280xp_usb3_uniphy_cfg = {
1405
1413
.rx_tbl_num = ARRAY_SIZE (sc8280xp_usb3_uniphy_rx_tbl ),
1406
1414
.pcs_tbl = sc8280xp_usb3_uniphy_pcs_tbl ,
1407
1415
.pcs_tbl_num = ARRAY_SIZE (sc8280xp_usb3_uniphy_pcs_tbl ),
1416
+ .pcs_usb_tbl = sc8280xp_usb3_uniphy_pcs_usb_tbl ,
1417
+ .pcs_usb_tbl_num = ARRAY_SIZE (sc8280xp_usb3_uniphy_pcs_usb_tbl ),
1408
1418
.clk_list = qmp_v4_phy_clk_l ,
1409
1419
.num_clks = ARRAY_SIZE (qmp_v4_phy_clk_l ),
1410
1420
.reset_list = qcm2290_usb3phy_reset_l ,
0 commit comments