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

phy: qcom: qmp: Add SM8250 UFS PHY

The SM8250 UFS PHY can run off the same initialization sequence as
SM8150, but add the compatible to allow future changes.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Bjorn Andersson and committed by
Vinod Koul
2f29298b 7ae14cf5

+8
+5
Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt
··· 19 19 "qcom,sdm845-qmp-usb3-uni-phy" for USB3 QMP V3 UNI phy on sdm845, 20 20 "qcom,sdm845-qmp-ufs-phy" for UFS QMP phy on sdm845, 21 21 "qcom,sm8150-qmp-ufs-phy" for UFS QMP phy on sm8150. 22 + "qcom,sm8250-qmp-ufs-phy" for UFS QMP phy on sm8250. 22 23 23 24 - reg: 24 25 - index 0: address and length of register set for PHY's common ··· 70 69 "ref", "ref_aux". 71 70 For "qcom,sm8150-qmp-ufs-phy" must contain: 72 71 "ref", "ref_aux". 72 + For "qcom,sm8250-qmp-ufs-phy" must contain: 73 + "ref", "ref_aux". 73 74 74 75 - resets: a list of phandles and reset controller specifier pairs, 75 76 one for each entry in reset-names. ··· 105 102 For "qcom,sdm845-qmp-ufs-phy": must contain: 106 103 "ufsphy". 107 104 For "qcom,sm8150-qmp-ufs-phy": must contain: 105 + "ufsphy". 106 + For "qcom,sm8250-qmp-ufs-phy": must contain: 108 107 "ufsphy". 109 108 110 109 - vdda-phy-supply: Phandle to a regulator supply to PHY core block.
+3
drivers/phy/qualcomm/phy-qcom-qmp.c
··· 2536 2536 }, { 2537 2537 .compatible = "qcom,sm8150-qmp-ufs-phy", 2538 2538 .data = &sm8150_ufsphy_cfg, 2539 + }, { 2540 + .compatible = "qcom,sm8250-qmp-ufs-phy", 2541 + .data = &sm8150_ufsphy_cfg, 2539 2542 }, 2540 2543 { }, 2541 2544 };