Commit 2f29298b authored by Bjorn Andersson's avatar Bjorn Andersson Committed by Vinod Koul

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: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Tested-by: default avatarVinod Koul <vkoul@kernel.org>
Reviewed-by: default avatarVinod Koul <vkoul@kernel.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 7ae14cf5
...@@ -19,6 +19,7 @@ Required properties: ...@@ -19,6 +19,7 @@ Required properties:
"qcom,sdm845-qmp-usb3-uni-phy" for USB3 QMP V3 UNI phy on sdm845, "qcom,sdm845-qmp-usb3-uni-phy" for USB3 QMP V3 UNI phy on sdm845,
"qcom,sdm845-qmp-ufs-phy" for UFS QMP phy on sdm845, "qcom,sdm845-qmp-ufs-phy" for UFS QMP phy on sdm845,
"qcom,sm8150-qmp-ufs-phy" for UFS QMP phy on sm8150. "qcom,sm8150-qmp-ufs-phy" for UFS QMP phy on sm8150.
"qcom,sm8250-qmp-ufs-phy" for UFS QMP phy on sm8250.
- reg: - reg:
- index 0: address and length of register set for PHY's common - index 0: address and length of register set for PHY's common
...@@ -69,6 +70,8 @@ Required properties: ...@@ -69,6 +70,8 @@ Required properties:
"ref", "ref_aux". "ref", "ref_aux".
For "qcom,sm8150-qmp-ufs-phy" must contain: For "qcom,sm8150-qmp-ufs-phy" must contain:
"ref", "ref_aux". "ref", "ref_aux".
For "qcom,sm8250-qmp-ufs-phy" must contain:
"ref", "ref_aux".
- resets: a list of phandles and reset controller specifier pairs, - resets: a list of phandles and reset controller specifier pairs,
one for each entry in reset-names. one for each entry in reset-names.
...@@ -103,6 +106,8 @@ Required properties: ...@@ -103,6 +106,8 @@ Required properties:
"ufsphy". "ufsphy".
For "qcom,sm8150-qmp-ufs-phy": must contain: For "qcom,sm8150-qmp-ufs-phy": must contain:
"ufsphy". "ufsphy".
For "qcom,sm8250-qmp-ufs-phy": must contain:
"ufsphy".
- vdda-phy-supply: Phandle to a regulator supply to PHY core block. - vdda-phy-supply: Phandle to a regulator supply to PHY core block.
- vdda-pll-supply: Phandle to 1.8V regulator supply to PHY refclk pll block. - vdda-pll-supply: Phandle to 1.8V regulator supply to PHY refclk pll block.
......
...@@ -2536,6 +2536,9 @@ static const struct of_device_id qcom_qmp_phy_of_match_table[] = { ...@@ -2536,6 +2536,9 @@ static const struct of_device_id qcom_qmp_phy_of_match_table[] = {
}, { }, {
.compatible = "qcom,sm8150-qmp-ufs-phy", .compatible = "qcom,sm8150-qmp-ufs-phy",
.data = &sm8150_ufsphy_cfg, .data = &sm8150_ufsphy_cfg,
}, {
.compatible = "qcom,sm8250-qmp-ufs-phy",
.data = &sm8150_ufsphy_cfg,
}, },
{ }, { },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment