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-ufs: Add HS G4 mode support to SM8450 SoC

UFS PHY in SM8450 SoC is capable of operating at HS G4 mode and the init
sequence is compatible with SM8350. Hence, add the tbls_hs_g4 instance
reusing the G4 init sequence of SM8350.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Andrew Halaney <ahalaney@redhat.com> # Qdrive3/sa8540p-ride
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20230114071009.88102-12-manivannan.sadhasivam@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Manivannan Sadhasivam and committed by
Vinod Koul
8d0fb02c 90c64cc0

+8
+8
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
··· 942 942 .serdes = sm8350_ufsphy_hs_b_serdes, 943 943 .serdes_num = ARRAY_SIZE(sm8350_ufsphy_hs_b_serdes), 944 944 }, 945 + .tbls_hs_g4 = { 946 + .tx = sm8350_ufsphy_g4_tx, 947 + .tx_num = ARRAY_SIZE(sm8350_ufsphy_g4_tx), 948 + .rx = sm8350_ufsphy_g4_rx, 949 + .rx_num = ARRAY_SIZE(sm8350_ufsphy_g4_rx), 950 + .pcs = sm8350_ufsphy_g4_pcs, 951 + .pcs_num = ARRAY_SIZE(sm8350_ufsphy_g4_pcs), 952 + }, 945 953 .clk_list = sm8450_ufs_phy_clk_l, 946 954 .num_clks = ARRAY_SIZE(sm8450_ufs_phy_clk_l), 947 955 .vreg_list = qmp_phy_vreg_l,