Linux-PHY Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add ipq5210 USB phy support
@ 2026-06-08 10:33 Varadarajan Narayanan
  2026-06-08 10:33 ` [PATCH v2 1/2] dt-bindings: phy: qcom,qusb2: Document IPQ5210 compatible Varadarajan Narayanan
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Varadarajan Narayanan @ 2026-06-08 10:33 UTC (permalink / raw)
  To: vkoul, neil.armstrong, robh, krzk+dt, conor+dt, quic_wcheng,
	linux-arm-msm, linux-phy, devicetree, linux-kernel
  Cc: Varadarajan Narayanan

The ipq5210 SoC has both USB2.0 and USB3.0 controllers. The USB3.0
can connect to either of USB2.0 or USB3.0 phy and operate in the
respective mode.

v2: Use ipq6018 and ipq9574 as fallback compatibles for qusb2 and qmp
    phys respectively instead of introducing ipq5210 as a new compatible.

    Dropped driver changes as moved to fallback compatible.

    Separate the controller and phy patches

v1: https://lore.kernel.org/linux-arm-msm/20260515-usb2phy-v1-0-5f8338d466bf@oss.qualcomm.com/

Varadarajan Narayanan (2):
  dt-bindings: phy: qcom,qusb2: Document IPQ5210 compatible
  dt-bindings: phy: qcom,qmp-usb: Add ipq5210 USB3 PHY

 .../bindings/phy/qcom,qusb2-phy.yaml          |  4 ++
 .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml   | 46 +++++++++++--------
 2 files changed, 30 insertions(+), 20 deletions(-)

-- 
2.34.1


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

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

* [PATCH v2 1/2] dt-bindings: phy: qcom,qusb2: Document IPQ5210 compatible
  2026-06-08 10:33 [PATCH v2 0/2] Add ipq5210 USB phy support Varadarajan Narayanan
@ 2026-06-08 10:33 ` Varadarajan Narayanan
  2026-06-08 20:04   ` Krzysztof Kozlowski
  2026-06-08 10:33 ` [PATCH v2 2/2] dt-bindings: phy: qcom,qmp-usb: Add ipq5210 USB3 PHY Varadarajan Narayanan
  2026-06-11 15:35 ` [PATCH v2 0/2] Add ipq5210 USB phy support Vinod Koul
  2 siblings, 1 reply; 6+ messages in thread
From: Varadarajan Narayanan @ 2026-06-08 10:33 UTC (permalink / raw)
  To: vkoul, neil.armstrong, robh, krzk+dt, conor+dt, quic_wcheng,
	linux-arm-msm, linux-phy, devicetree, linux-kernel
  Cc: Varadarajan Narayanan

Document the QUSB2 PHY compatible for the IPQ5210 SoC. The IPQ5210 PHY is
compatible with the IPQ6018 QUSB2 PHY, so allow it to use
qcom,ipq6018-qusb2-phy as the fallback compatible.

Signed-off-by: Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml
index 39851ba9de43..449c2a7e5fec 100644
--- a/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml
@@ -30,6 +30,10 @@ properties:
               - qcom,sdm660-qusb2-phy
               - qcom,sm4250-qusb2-phy
               - qcom,sm6115-qusb2-phy
+      - items:
+          - enum:
+              - qcom,ipq5210-qusb2-phy
+          - const: qcom,ipq6018-qusb2-phy
       - items:
           - enum:
               - qcom,sc7180-qusb2-phy
-- 
2.34.1


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

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

* [PATCH v2 2/2] dt-bindings: phy: qcom,qmp-usb: Add ipq5210 USB3 PHY
  2026-06-08 10:33 [PATCH v2 0/2] Add ipq5210 USB phy support Varadarajan Narayanan
  2026-06-08 10:33 ` [PATCH v2 1/2] dt-bindings: phy: qcom,qusb2: Document IPQ5210 compatible Varadarajan Narayanan
@ 2026-06-08 10:33 ` Varadarajan Narayanan
  2026-06-08 20:06   ` Krzysztof Kozlowski
  2026-06-11 15:35 ` [PATCH v2 0/2] Add ipq5210 USB phy support Vinod Koul
  2 siblings, 1 reply; 6+ messages in thread
From: Varadarajan Narayanan @ 2026-06-08 10:33 UTC (permalink / raw)
  To: vkoul, neil.armstrong, robh, krzk+dt, conor+dt, quic_wcheng,
	linux-arm-msm, linux-phy, devicetree, linux-kernel
  Cc: Varadarajan Narayanan

Add dt-bindings for the USB3 QMP PHY found on the Qualcomm IPQ5210 SoC. The
IPQ5210 PHY is compatible with the IPQ9574 PHY, so add it as a fallback-
compatible entry using a oneOf construct rather than a plain enum entry.

Signed-off-by: Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>
---
 .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml   | 46 +++++++++++--------
 1 file changed, 26 insertions(+), 20 deletions(-)

diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml
index 623c2f8c7d22..01342823e57f 100644
--- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml
@@ -15,26 +15,32 @@ description:
 
 properties:
   compatible:
-    enum:
-      - qcom,glymur-qmp-usb3-uni-phy
-      - qcom,ipq5424-qmp-usb3-phy
-      - qcom,ipq6018-qmp-usb3-phy
-      - qcom,ipq8074-qmp-usb3-phy
-      - qcom,ipq9574-qmp-usb3-phy
-      - qcom,msm8996-qmp-usb3-phy
-      - qcom,qcs8300-qmp-usb3-uni-phy
-      - qcom,qdu1000-qmp-usb3-uni-phy
-      - qcom,sa8775p-qmp-usb3-uni-phy
-      - qcom,sc8180x-qmp-usb3-uni-phy
-      - qcom,sc8280xp-qmp-usb3-uni-phy
-      - qcom,sdm845-qmp-usb3-uni-phy
-      - qcom,sdx55-qmp-usb3-uni-phy
-      - qcom,sdx65-qmp-usb3-uni-phy
-      - qcom,sdx75-qmp-usb3-uni-phy
-      - qcom,sm8150-qmp-usb3-uni-phy
-      - qcom,sm8250-qmp-usb3-uni-phy
-      - qcom,sm8350-qmp-usb3-uni-phy
-      - qcom,x1e80100-qmp-usb3-uni-phy
+    oneOf:
+      - items:
+          - enum:
+              - qcom,glymur-qmp-usb3-uni-phy
+              - qcom,ipq5424-qmp-usb3-phy
+              - qcom,ipq6018-qmp-usb3-phy
+              - qcom,ipq8074-qmp-usb3-phy
+              - qcom,ipq9574-qmp-usb3-phy
+              - qcom,msm8996-qmp-usb3-phy
+              - qcom,qcs8300-qmp-usb3-uni-phy
+              - qcom,qdu1000-qmp-usb3-uni-phy
+              - qcom,sa8775p-qmp-usb3-uni-phy
+              - qcom,sc8180x-qmp-usb3-uni-phy
+              - qcom,sc8280xp-qmp-usb3-uni-phy
+              - qcom,sdm845-qmp-usb3-uni-phy
+              - qcom,sdx55-qmp-usb3-uni-phy
+              - qcom,sdx65-qmp-usb3-uni-phy
+              - qcom,sdx75-qmp-usb3-uni-phy
+              - qcom,sm8150-qmp-usb3-uni-phy
+              - qcom,sm8250-qmp-usb3-uni-phy
+              - qcom,sm8350-qmp-usb3-uni-phy
+              - qcom,x1e80100-qmp-usb3-uni-phy
+      - items:
+          - enum:
+              - qcom,ipq5210-qmp-usb3-phy
+          - const: qcom,ipq9574-qmp-usb3-phy
 
   reg:
     maxItems: 1
-- 
2.34.1


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

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

* Re: [PATCH v2 1/2] dt-bindings: phy: qcom,qusb2: Document IPQ5210 compatible
  2026-06-08 10:33 ` [PATCH v2 1/2] dt-bindings: phy: qcom,qusb2: Document IPQ5210 compatible Varadarajan Narayanan
@ 2026-06-08 20:04   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-08 20:04 UTC (permalink / raw)
  To: Varadarajan Narayanan
  Cc: vkoul, neil.armstrong, robh, krzk+dt, conor+dt, quic_wcheng,
	linux-arm-msm, linux-phy, devicetree, linux-kernel

On Mon, Jun 08, 2026 at 04:03:43PM +0530, Varadarajan Narayanan wrote:
> Document the QUSB2 PHY compatible for the IPQ5210 SoC. The IPQ5210 PHY is
> compatible with the IPQ6018 QUSB2 PHY, so allow it to use
> qcom,ipq6018-qusb2-phy as the fallback compatible.
> 
> Signed-off-by: Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>
> ---
>  Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

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

* Re: [PATCH v2 2/2] dt-bindings: phy: qcom,qmp-usb: Add ipq5210 USB3 PHY
  2026-06-08 10:33 ` [PATCH v2 2/2] dt-bindings: phy: qcom,qmp-usb: Add ipq5210 USB3 PHY Varadarajan Narayanan
@ 2026-06-08 20:06   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-08 20:06 UTC (permalink / raw)
  To: Varadarajan Narayanan
  Cc: vkoul, neil.armstrong, robh, krzk+dt, conor+dt, quic_wcheng,
	linux-arm-msm, linux-phy, devicetree, linux-kernel

On Mon, Jun 08, 2026 at 04:03:44PM +0530, Varadarajan Narayanan wrote:
> Add dt-bindings for the USB3 QMP PHY found on the Qualcomm IPQ5210 SoC. The
> IPQ5210 PHY is compatible with the IPQ9574 PHY, so add it as a fallback-
> compatible entry using a oneOf construct rather than a plain enum entry.
> 
> Signed-off-by: Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>
> ---
>  .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml   | 46 +++++++++++--------
>  1 file changed, 26 insertions(+), 20 deletions(-)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

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

* Re: [PATCH v2 0/2] Add ipq5210 USB phy support
  2026-06-08 10:33 [PATCH v2 0/2] Add ipq5210 USB phy support Varadarajan Narayanan
  2026-06-08 10:33 ` [PATCH v2 1/2] dt-bindings: phy: qcom,qusb2: Document IPQ5210 compatible Varadarajan Narayanan
  2026-06-08 10:33 ` [PATCH v2 2/2] dt-bindings: phy: qcom,qmp-usb: Add ipq5210 USB3 PHY Varadarajan Narayanan
@ 2026-06-11 15:35 ` Vinod Koul
  2 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2026-06-11 15:35 UTC (permalink / raw)
  To: neil.armstrong, robh, krzk+dt, conor+dt, quic_wcheng,
	linux-arm-msm, linux-phy, devicetree, linux-kernel,
	Varadarajan Narayanan


On Mon, 08 Jun 2026 16:03:42 +0530, Varadarajan Narayanan wrote:
> The ipq5210 SoC has both USB2.0 and USB3.0 controllers. The USB3.0
> can connect to either of USB2.0 or USB3.0 phy and operate in the
> respective mode.
> 
> v2: Use ipq6018 and ipq9574 as fallback compatibles for qusb2 and qmp
>     phys respectively instead of introducing ipq5210 as a new compatible.
> 
> [...]

Applied, thanks!

[1/2] dt-bindings: phy: qcom,qusb2: Document IPQ5210 compatible
      commit: a9a9bae2174bbad63fc73a0d445b7437f63b2498
[2/2] dt-bindings: phy: qcom,qmp-usb: Add ipq5210 USB3 PHY
      commit: 609878c1b684ea3f77ab72237511eb9bec927102

Best regards,
-- 
~Vinod



-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

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

end of thread, other threads:[~2026-06-11 15:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-08 10:33 [PATCH v2 0/2] Add ipq5210 USB phy support Varadarajan Narayanan
2026-06-08 10:33 ` [PATCH v2 1/2] dt-bindings: phy: qcom,qusb2: Document IPQ5210 compatible Varadarajan Narayanan
2026-06-08 20:04   ` Krzysztof Kozlowski
2026-06-08 10:33 ` [PATCH v2 2/2] dt-bindings: phy: qcom,qmp-usb: Add ipq5210 USB3 PHY Varadarajan Narayanan
2026-06-08 20:06   ` Krzysztof Kozlowski
2026-06-11 15:35 ` [PATCH v2 0/2] Add ipq5210 USB phy support Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox