linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for SM8450
@ 2021-12-13 13:14 Vinod Koul
  2021-12-13 13:14 ` [PATCH 2/3] dt-bindings: phy: qcom,qmp: Add SM8450 USB3 PHY Vinod Koul
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Vinod Koul @ 2021-12-13 13:14 UTC (permalink / raw)
  To: Bjorn Andersson, Kishon Vijay Abraham I
  Cc: linux-arm-msm, Vinod Koul, Andy Gross, Rob Herring, Wesley Cheng,
	linux-phy, devicetree, linux-kernel

Document the compatible string for USB phy found in Qualcomm SM8450 SoC

Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 .../devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml          | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml b/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml
index 20203a8a9e41..0dfe6914ec87 100644
--- a/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml
@@ -20,6 +20,7 @@ properties:
       - qcom,sm8150-usb-hs-phy
       - qcom,sm8250-usb-hs-phy
       - qcom,sm8350-usb-hs-phy
+      - qcom,sm8450-usb-hs-phy
       - qcom,usb-snps-femto-v2-phy
 
   reg:
-- 
2.31.1


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

* [PATCH 2/3] dt-bindings: phy: qcom,qmp: Add SM8450 USB3 PHY
  2021-12-13 13:14 [PATCH 1/3] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for SM8450 Vinod Koul
@ 2021-12-13 13:14 ` Vinod Koul
  2021-12-13 22:45   ` Bjorn Andersson
  2021-12-15 20:13   ` Rob Herring
  2021-12-13 13:14 ` [PATCH 3/3] phy: qcom-qmp: Add SM8450 USB QMP PHYs Vinod Koul
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 9+ messages in thread
From: Vinod Koul @ 2021-12-13 13:14 UTC (permalink / raw)
  To: Bjorn Andersson, Kishon Vijay Abraham I
  Cc: linux-arm-msm, Vinod Koul, Andy Gross, Rob Herring, Wesley Cheng,
	linux-phy, devicetree, linux-kernel

Add compatible string for USB QMP phy in Qualcomm SM8450 SoC

Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
index c59bbca9a900..d625a6fe0205 100644
--- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
@@ -51,6 +51,7 @@ properties:
       - qcom,sm8350-qmp-usb3-phy
       - qcom,sm8350-qmp-usb3-uni-phy
       - qcom,sm8450-qmp-ufs-phy
+      - qcom,sm8450-qmp-usb3-phy
       - qcom,sdx55-qmp-pcie-phy
       - qcom,sdx55-qmp-usb3-uni-phy
 
-- 
2.31.1


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

* [PATCH 3/3] phy: qcom-qmp: Add SM8450 USB QMP PHYs
  2021-12-13 13:14 [PATCH 1/3] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for SM8450 Vinod Koul
  2021-12-13 13:14 ` [PATCH 2/3] dt-bindings: phy: qcom,qmp: Add SM8450 USB3 PHY Vinod Koul
@ 2021-12-13 13:14 ` Vinod Koul
  2021-12-13 22:47   ` Bjorn Andersson
  2021-12-13 22:45 ` [PATCH 1/3] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for SM8450 Bjorn Andersson
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: Vinod Koul @ 2021-12-13 13:14 UTC (permalink / raw)
  To: Bjorn Andersson, Kishon Vijay Abraham I
  Cc: linux-arm-msm, Vinod Koul, Andy Gross, Rob Herring, Wesley Cheng,
	linux-phy, devicetree, linux-kernel

Add support for the USB DP & UNI PHYs found on SM8450. This is same as
the phy version used on SM8350 and sequences turned out to be same, so
use the same table from SM8350 for this as well.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 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 a959c97a699f..13a249ec8ab6 100644
--- a/drivers/phy/qualcomm/phy-qcom-qmp.c
+++ b/drivers/phy/qualcomm/phy-qcom-qmp.c
@@ -5777,6 +5777,9 @@ static const struct of_device_id qcom_qmp_phy_of_match_table[] = {
 	}, {
 		.compatible = "qcom,sm8450-qmp-ufs-phy",
 		.data = &sm8450_ufsphy_cfg,
+	}, {
+		.compatible = "qcom,sm8450-qmp-usb3-phy",
+		.data = &sm8350_usb3phy_cfg,
 	}, {
 		.compatible = "qcom,qcm2290-qmp-usb3-phy",
 		.data = &qcm2290_usb3phy_cfg,
-- 
2.31.1


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

* Re: [PATCH 1/3] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for SM8450
  2021-12-13 13:14 [PATCH 1/3] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for SM8450 Vinod Koul
  2021-12-13 13:14 ` [PATCH 2/3] dt-bindings: phy: qcom,qmp: Add SM8450 USB3 PHY Vinod Koul
  2021-12-13 13:14 ` [PATCH 3/3] phy: qcom-qmp: Add SM8450 USB QMP PHYs Vinod Koul
@ 2021-12-13 22:45 ` Bjorn Andersson
  2021-12-15 20:13 ` Rob Herring
  2021-12-16  6:36 ` Vinod Koul
  4 siblings, 0 replies; 9+ messages in thread
From: Bjorn Andersson @ 2021-12-13 22:45 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Kishon Vijay Abraham I, linux-arm-msm, Andy Gross, Rob Herring,
	Wesley Cheng, linux-phy, devicetree, linux-kernel

On Mon 13 Dec 07:14 CST 2021, Vinod Koul wrote:

> Document the compatible string for USB phy found in Qualcomm SM8450 SoC
> 

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

> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> ---
>  .../devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml          | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml b/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml
> index 20203a8a9e41..0dfe6914ec87 100644
> --- a/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml
> +++ b/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml
> @@ -20,6 +20,7 @@ properties:
>        - qcom,sm8150-usb-hs-phy
>        - qcom,sm8250-usb-hs-phy
>        - qcom,sm8350-usb-hs-phy
> +      - qcom,sm8450-usb-hs-phy
>        - qcom,usb-snps-femto-v2-phy
>  
>    reg:
> -- 
> 2.31.1
> 

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

* Re: [PATCH 2/3] dt-bindings: phy: qcom,qmp: Add SM8450 USB3 PHY
  2021-12-13 13:14 ` [PATCH 2/3] dt-bindings: phy: qcom,qmp: Add SM8450 USB3 PHY Vinod Koul
@ 2021-12-13 22:45   ` Bjorn Andersson
  2021-12-15 20:13   ` Rob Herring
  1 sibling, 0 replies; 9+ messages in thread
From: Bjorn Andersson @ 2021-12-13 22:45 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Kishon Vijay Abraham I, linux-arm-msm, Andy Gross, Rob Herring,
	Wesley Cheng, linux-phy, devicetree, linux-kernel

On Mon 13 Dec 07:14 CST 2021, Vinod Koul wrote:

> Add compatible string for USB QMP phy in Qualcomm SM8450 SoC
> 

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

> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> ---
>  Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
> index c59bbca9a900..d625a6fe0205 100644
> --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
> @@ -51,6 +51,7 @@ properties:
>        - qcom,sm8350-qmp-usb3-phy
>        - qcom,sm8350-qmp-usb3-uni-phy
>        - qcom,sm8450-qmp-ufs-phy
> +      - qcom,sm8450-qmp-usb3-phy
>        - qcom,sdx55-qmp-pcie-phy
>        - qcom,sdx55-qmp-usb3-uni-phy
>  
> -- 
> 2.31.1
> 

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

* Re: [PATCH 3/3] phy: qcom-qmp: Add SM8450 USB QMP PHYs
  2021-12-13 13:14 ` [PATCH 3/3] phy: qcom-qmp: Add SM8450 USB QMP PHYs Vinod Koul
@ 2021-12-13 22:47   ` Bjorn Andersson
  0 siblings, 0 replies; 9+ messages in thread
From: Bjorn Andersson @ 2021-12-13 22:47 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Kishon Vijay Abraham I, linux-arm-msm, Andy Gross, Rob Herring,
	Wesley Cheng, linux-phy, devicetree, linux-kernel

On Mon 13 Dec 07:14 CST 2021, Vinod Koul wrote:

> Add support for the USB DP & UNI PHYs found on SM8450. This is same as
> the phy version used on SM8350 and sequences turned out to be same, so
> use the same table from SM8350 for this as well.
> 

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

Regards,
Bjorn

> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> ---
>  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 a959c97a699f..13a249ec8ab6 100644
> --- a/drivers/phy/qualcomm/phy-qcom-qmp.c
> +++ b/drivers/phy/qualcomm/phy-qcom-qmp.c
> @@ -5777,6 +5777,9 @@ static const struct of_device_id qcom_qmp_phy_of_match_table[] = {
>  	}, {
>  		.compatible = "qcom,sm8450-qmp-ufs-phy",
>  		.data = &sm8450_ufsphy_cfg,
> +	}, {
> +		.compatible = "qcom,sm8450-qmp-usb3-phy",
> +		.data = &sm8350_usb3phy_cfg,
>  	}, {
>  		.compatible = "qcom,qcm2290-qmp-usb3-phy",
>  		.data = &qcm2290_usb3phy_cfg,
> -- 
> 2.31.1
> 

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

* Re: [PATCH 1/3] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for SM8450
  2021-12-13 13:14 [PATCH 1/3] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for SM8450 Vinod Koul
                   ` (2 preceding siblings ...)
  2021-12-13 22:45 ` [PATCH 1/3] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for SM8450 Bjorn Andersson
@ 2021-12-15 20:13 ` Rob Herring
  2021-12-16  6:36 ` Vinod Koul
  4 siblings, 0 replies; 9+ messages in thread
From: Rob Herring @ 2021-12-15 20:13 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Andy Gross, linux-arm-msm, linux-kernel, Wesley Cheng, linux-phy,
	devicetree, Rob Herring, Kishon Vijay Abraham I, Bjorn Andersson

On Mon, 13 Dec 2021 18:44:48 +0530, Vinod Koul wrote:
> Document the compatible string for USB phy found in Qualcomm SM8450 SoC
> 
> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> ---
>  .../devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml          | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 2/3] dt-bindings: phy: qcom,qmp: Add SM8450 USB3 PHY
  2021-12-13 13:14 ` [PATCH 2/3] dt-bindings: phy: qcom,qmp: Add SM8450 USB3 PHY Vinod Koul
  2021-12-13 22:45   ` Bjorn Andersson
@ 2021-12-15 20:13   ` Rob Herring
  1 sibling, 0 replies; 9+ messages in thread
From: Rob Herring @ 2021-12-15 20:13 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Andy Gross, Kishon Vijay Abraham I, linux-kernel, linux-phy,
	Rob Herring, linux-arm-msm, Wesley Cheng, devicetree,
	Bjorn Andersson

On Mon, 13 Dec 2021 18:44:49 +0530, Vinod Koul wrote:
> Add compatible string for USB QMP phy in Qualcomm SM8450 SoC
> 
> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> ---
>  Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 1/3] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for SM8450
  2021-12-13 13:14 [PATCH 1/3] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for SM8450 Vinod Koul
                   ` (3 preceding siblings ...)
  2021-12-15 20:13 ` Rob Herring
@ 2021-12-16  6:36 ` Vinod Koul
  4 siblings, 0 replies; 9+ messages in thread
From: Vinod Koul @ 2021-12-16  6:36 UTC (permalink / raw)
  To: Bjorn Andersson, Kishon Vijay Abraham I
  Cc: linux-arm-msm, Andy Gross, Rob Herring, Wesley Cheng, linux-phy,
	devicetree, linux-kernel

On 13-12-21, 18:44, Vinod Koul wrote:
> Document the compatible string for USB phy found in Qualcomm SM8450 SoC

Applied all, thanks

-- 
~Vinod

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

end of thread, other threads:[~2021-12-16  6:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-13 13:14 [PATCH 1/3] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for SM8450 Vinod Koul
2021-12-13 13:14 ` [PATCH 2/3] dt-bindings: phy: qcom,qmp: Add SM8450 USB3 PHY Vinod Koul
2021-12-13 22:45   ` Bjorn Andersson
2021-12-15 20:13   ` Rob Herring
2021-12-13 13:14 ` [PATCH 3/3] phy: qcom-qmp: Add SM8450 USB QMP PHYs Vinod Koul
2021-12-13 22:47   ` Bjorn Andersson
2021-12-13 22:45 ` [PATCH 1/3] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for SM8450 Bjorn Andersson
2021-12-15 20:13 ` Rob Herring
2021-12-16  6:36 ` 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).