linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] dt-bindings: phy: qcom,qmp: add sc8180x and sc8280xp ufs compatibles
@ 2022-02-25  3:51 Bjorn Andersson
  2022-02-25  3:51 ` [PATCH v2 2/2] phy: qcom-qmp: add sc8280xp UFS PHY Bjorn Andersson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bjorn Andersson @ 2022-02-25  3:51 UTC (permalink / raw)
  To: Kishon Vijay Abraham I, Vinod Koul, Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, linux-phy, devicetree, linux-kernel

Add compatible for the UFS PHY found in the Qualcomm SC8280XP platform
and document the required clocks for this and the SC8180X UFS PHY.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---

Changes since v1:
- Fixed indentation

 Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
index e417cd667997..e20d9b087bb8 100644
--- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
@@ -32,6 +32,7 @@ properties:
       - qcom,sc8180x-qmp-pcie-phy
       - qcom,sc8180x-qmp-ufs-phy
       - qcom,sc8180x-qmp-usb3-phy
+      - qcom,sc8280xp-qmp-ufs-phy
       - qcom,sdm845-qhp-pcie-phy
       - qcom,sdm845-qmp-pcie-phy
       - qcom,sdm845-qmp-ufs-phy
@@ -280,6 +281,8 @@ allOf:
               - qcom,sdm845-qmp-ufs-phy
               - qcom,sm8150-qmp-ufs-phy
               - qcom,sm8250-qmp-ufs-phy
+              - qcom,sc8180x-qmp-ufs-phy
+              - qcom,sc8280xp-qmp-ufs-phy
     then:
       properties:
         clocks:
-- 
2.33.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v2 2/2] phy: qcom-qmp: add sc8280xp UFS PHY
  2022-02-25  3:51 [PATCH v2 1/2] dt-bindings: phy: qcom,qmp: add sc8180x and sc8280xp ufs compatibles Bjorn Andersson
@ 2022-02-25  3:51 ` Bjorn Andersson
  2022-02-25 15:52 ` [PATCH v2 1/2] dt-bindings: phy: qcom,qmp: add sc8180x and sc8280xp ufs compatibles Krzysztof Kozlowski
  2022-03-02 14:28 ` Vinod Koul
  2 siblings, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2022-02-25  3:51 UTC (permalink / raw)
  To: Kishon Vijay Abraham I, Vinod Koul
  Cc: Rob Herring, Krzysztof Kozlowski, linux-arm-msm, linux-phy,
	devicetree, linux-kernel

Reuse the SM8350 UFS PHY initialization sequence to add support for the
same found in the Qualcomm SC8280XP platform.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---

Changes since v1:
- None

 drivers/phy/qualcomm/phy-qcom-qmp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c
index 8ea87c69f463..b144ae1f729a 100644
--- a/drivers/phy/qualcomm/phy-qcom-qmp.c
+++ b/drivers/phy/qualcomm/phy-qcom-qmp.c
@@ -5977,6 +5977,9 @@ static const struct of_device_id qcom_qmp_phy_of_match_table[] = {
 	}, {
 		.compatible = "qcom,sc8180x-qmp-ufs-phy",
 		.data = &sm8150_ufsphy_cfg,
+	}, {
+		.compatible = "qcom,sc8280xp-qmp-ufs-phy",
+		.data = &sm8350_ufsphy_cfg,
 	}, {
 		.compatible = "qcom,sc8180x-qmp-usb3-phy",
 		.data = &sm8150_usb3phy_cfg,
-- 
2.33.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 1/2] dt-bindings: phy: qcom,qmp: add sc8180x and sc8280xp ufs compatibles
  2022-02-25  3:51 [PATCH v2 1/2] dt-bindings: phy: qcom,qmp: add sc8180x and sc8280xp ufs compatibles Bjorn Andersson
  2022-02-25  3:51 ` [PATCH v2 2/2] phy: qcom-qmp: add sc8280xp UFS PHY Bjorn Andersson
@ 2022-02-25 15:52 ` Krzysztof Kozlowski
  2022-03-02 14:28 ` Vinod Koul
  2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2022-02-25 15:52 UTC (permalink / raw)
  To: Bjorn Andersson, Kishon Vijay Abraham I, Vinod Koul, Rob Herring
  Cc: linux-arm-msm, linux-phy, devicetree, linux-kernel

On 25/02/2022 04:51, Bjorn Andersson wrote:
> Add compatible for the UFS PHY found in the Qualcomm SC8280XP platform
> and document the required clocks for this and the SC8180X UFS PHY.
> 
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
> 
> Changes since v1:
> - Fixed indentation
> 
>  Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>


Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 1/2] dt-bindings: phy: qcom,qmp: add sc8180x and sc8280xp ufs compatibles
  2022-02-25  3:51 [PATCH v2 1/2] dt-bindings: phy: qcom,qmp: add sc8180x and sc8280xp ufs compatibles Bjorn Andersson
  2022-02-25  3:51 ` [PATCH v2 2/2] phy: qcom-qmp: add sc8280xp UFS PHY Bjorn Andersson
  2022-02-25 15:52 ` [PATCH v2 1/2] dt-bindings: phy: qcom,qmp: add sc8180x and sc8280xp ufs compatibles Krzysztof Kozlowski
@ 2022-03-02 14:28 ` Vinod Koul
  2 siblings, 0 replies; 4+ messages in thread
From: Vinod Koul @ 2022-03-02 14:28 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski,
	linux-arm-msm, linux-phy, devicetree, linux-kernel

On 24-02-22, 19:51, Bjorn Andersson wrote:
> Add compatible for the UFS PHY found in the Qualcomm SC8280XP platform
> and document the required clocks for this and the SC8180X UFS PHY.

Applied all, thanks

-- 
~Vinod

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-02 14:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-25  3:51 [PATCH v2 1/2] dt-bindings: phy: qcom,qmp: add sc8180x and sc8280xp ufs compatibles Bjorn Andersson
2022-02-25  3:51 ` [PATCH v2 2/2] phy: qcom-qmp: add sc8280xp UFS PHY Bjorn Andersson
2022-02-25 15:52 ` [PATCH v2 1/2] dt-bindings: phy: qcom,qmp: add sc8180x and sc8280xp ufs compatibles Krzysztof Kozlowski
2022-03-02 14:28 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).