Skip to content

Commit 813a239

Browse files
lumagvinodkoul
authored andcommitted
phy: qcom-qmp-pcie: drop sdm845_qhp_pcie_rx_tbl
The SDM845 QHP PHY doesn't have designated RX region. Corresponding RX table is empty, so we can drop it completely. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20230331151250.4049-2-dmitry.baryshkov@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 1db6b0a commit 813a239

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/phy/qualcomm/phy-qcom-qmp-pcie.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -725,9 +725,6 @@ static const struct qmp_phy_init_tbl sdm845_qhp_pcie_tx_tbl[] = {
725725
QMP_PHY_INIT_CFG(PCIE_GEN3_QHP_L0_RSM_START, 0x01),
726726
};
727727

728-
static const struct qmp_phy_init_tbl sdm845_qhp_pcie_rx_tbl[] = {
729-
};
730-
731728
static const struct qmp_phy_init_tbl sdm845_qhp_pcie_pcs_tbl[] = {
732729
QMP_PHY_INIT_CFG(PCIE_GEN3_QHP_PHY_POWER_STATE_CONFIG, 0x3f),
733730
QMP_PHY_INIT_CFG(PCIE_GEN3_QHP_PHY_PCS_TX_RX_CONFIG, 0x50),
@@ -2212,8 +2209,6 @@ static const struct qmp_phy_cfg sdm845_qhp_pciephy_cfg = {
22122209
.serdes_num = ARRAY_SIZE(sdm845_qhp_pcie_serdes_tbl),
22132210
.tx = sdm845_qhp_pcie_tx_tbl,
22142211
.tx_num = ARRAY_SIZE(sdm845_qhp_pcie_tx_tbl),
2215-
.rx = sdm845_qhp_pcie_rx_tbl,
2216-
.rx_num = ARRAY_SIZE(sdm845_qhp_pcie_rx_tbl),
22172212
.pcs = sdm845_qhp_pcie_pcs_tbl,
22182213
.pcs_num = ARRAY_SIZE(sdm845_qhp_pcie_pcs_tbl),
22192214
},

0 commit comments

Comments
 (0)