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

phy: qcom-qmp: Add SM6125 UFS PHY support

The SM6125 UFS PHY is compatible with the one from SM6115. Add a
compatible for it and modify the config from SM6115 to make them
compatible with the SC8280XP binding

Signed-off-by: Lux Aliaga <they@mint.lgbt>
Reviewed-by: Martin Botka <martin.botka@somainline.org>
Link: https://lore.kernel.org/r/20230108195336.388349-4-they@mint.lgbt
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Lux Aliaga and committed by
Vinod Koul
9b9e29af 9083b009

+5
+5
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
··· 698 698 static const struct qmp_phy_cfg sm6115_ufsphy_cfg = { 699 699 .lanes = 1, 700 700 701 + .offsets = &qmp_ufs_offsets_v5, 702 + 701 703 .serdes_tbl = sm6115_ufsphy_serdes_tbl, 702 704 .serdes_tbl_num = ARRAY_SIZE(sm6115_ufsphy_serdes_tbl), 703 705 .tx_tbl = sm6115_ufsphy_tx_tbl, ··· 1235 1233 .data = &sdm845_ufsphy_cfg, 1236 1234 }, { 1237 1235 .compatible = "qcom,sm6115-qmp-ufs-phy", 1236 + .data = &sm6115_ufsphy_cfg, 1237 + }, { 1238 + .compatible = "qcom,sm6125-qmp-ufs-phy", 1238 1239 .data = &sm6115_ufsphy_cfg, 1239 1240 }, { 1240 1241 .compatible = "qcom,sm6350-qmp-ufs-phy",