Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

phy: qcom-qmp-pcie: rename the sm8450 gen3 PHY config tables

SM8350 PHY config tables are mostly the same as SM8450 gen3 PHY config
tables. Rename generic tables to remove x1 suffix.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20221118233242.2904088-6-dmitry.baryshkov@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Dmitry Baryshkov and committed by
Vinod Koul
c99649c3 d8de49e9

+9 -9
+9 -9
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
··· 1216 1216 QMP_PHY_INIT_CFG(QPHY_V4_20_PCS_LANE1_INSIG_MX_CTRL2, 0x00), 1217 1217 }; 1218 1218 1219 - static const struct qmp_phy_init_tbl sm8450_qmp_gen3x1_pcie_serdes_tbl[] = { 1219 + static const struct qmp_phy_init_tbl sm8450_qmp_gen3_pcie_serdes_tbl[] = { 1220 1220 QMP_PHY_INIT_CFG(QSERDES_V5_COM_SYSCLK_EN_SEL, 0x08), 1221 1221 QMP_PHY_INIT_CFG(QSERDES_V5_COM_CLK_SELECT, 0x34), 1222 1222 QMP_PHY_INIT_CFG(QSERDES_V5_COM_CORECLK_DIV_MODE1, 0x08), ··· 1272 1272 QMP_PHY_INIT_CFG(QSERDES_V5_TX_RES_CODE_LANE_OFFSET_RX, 0x04), 1273 1273 }; 1274 1274 1275 - static const struct qmp_phy_init_tbl sm8450_qmp_gen3x1_pcie_rx_tbl[] = { 1275 + static const struct qmp_phy_init_tbl sm8450_qmp_gen3_pcie_rx_tbl[] = { 1276 1276 QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_MODE_00_LOW, 0x7f), 1277 1277 QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_MODE_00_HIGH, 0xff), 1278 1278 QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_MODE_00_HIGH4, 0xd8), ··· 1300 1300 QMP_PHY_INIT_CFG(QSERDES_V5_RX_UCDR_SO_GAIN, 0x05), 1301 1301 }; 1302 1302 1303 - static const struct qmp_phy_init_tbl sm8450_qmp_gen3x1_pcie_pcs_tbl[] = { 1303 + static const struct qmp_phy_init_tbl sm8450_qmp_gen3_pcie_pcs_tbl[] = { 1304 1304 QMP_PHY_INIT_CFG(QPHY_V5_PCS_RX_SIGDET_LVL, 0x77), 1305 1305 QMP_PHY_INIT_CFG(QPHY_V5_PCS_RATE_SLEW_CNTRL1, 0x0b), 1306 1306 QMP_PHY_INIT_CFG(QPHY_V5_PCS_REFGEN_REQ_CONFIG1, 0x05), ··· 2025 2025 .lanes = 1, 2026 2026 2027 2027 .tbls = { 2028 - .serdes = sm8450_qmp_gen3x1_pcie_serdes_tbl, 2029 - .serdes_num = ARRAY_SIZE(sm8450_qmp_gen3x1_pcie_serdes_tbl), 2028 + .serdes = sm8450_qmp_gen3_pcie_serdes_tbl, 2029 + .serdes_num = ARRAY_SIZE(sm8450_qmp_gen3_pcie_serdes_tbl), 2030 2030 .tx = sm8450_qmp_gen3x1_pcie_tx_tbl, 2031 2031 .tx_num = ARRAY_SIZE(sm8450_qmp_gen3x1_pcie_tx_tbl), 2032 - .rx = sm8450_qmp_gen3x1_pcie_rx_tbl, 2033 - .rx_num = ARRAY_SIZE(sm8450_qmp_gen3x1_pcie_rx_tbl), 2034 - .pcs = sm8450_qmp_gen3x1_pcie_pcs_tbl, 2035 - .pcs_num = ARRAY_SIZE(sm8450_qmp_gen3x1_pcie_pcs_tbl), 2032 + .rx = sm8450_qmp_gen3_pcie_rx_tbl, 2033 + .rx_num = ARRAY_SIZE(sm8450_qmp_gen3_pcie_rx_tbl), 2034 + .pcs = sm8450_qmp_gen3_pcie_pcs_tbl, 2035 + .pcs_num = ARRAY_SIZE(sm8450_qmp_gen3_pcie_pcs_tbl), 2036 2036 .pcs_misc = sm8450_qmp_gen3x1_pcie_pcs_misc_tbl, 2037 2037 .pcs_misc_num = ARRAY_SIZE(sm8450_qmp_gen3x1_pcie_pcs_misc_tbl), 2038 2038 },