Skip to contentSkip to conversation

SDM670 USB 2.0 support

PATCH Applied Richard Acayan 3 participants 7 messages Sep 22, 2022 – Sep 29, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

v2 cover SDM670 USB 2.0 support

Changes since v1:
- drop driver patch (some maintainers might be excluded from v3 recipients because of this)
- add entries in usb clocks and interrupts

This adds compatible strings for USB 2.0 on the Qualcomm Snapdragon 670. I have no way to test USB 3.0 because my SDM670 device doesn't have USB 3.

 Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml | 1 +
 Documentation/devicetree/bindings/usb/qcom,dwc3.yaml      | 3 +++
 2 files changed, 4 insertions(+)
#1 lore raw

PATCH v2 1/2 dt-bindings: phy: qcom,qusb2: document sdm670 compatible

The Snapdragon 670 uses the QUSB driver for USB 2.0. Document the compatible used in the device tree.

---
 Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml +1 -0
index d68ab49345b8..636ea430fbff 100644
@@ -30,6 +30,7 @@ properties:
       - items:
           - enum:
               - qcom,sc7180-qusb2-phy
+              - qcom,sdm670-qusb2-phy
               - qcom,sdm845-qusb2-phy
               - qcom,sm6350-qusb2-phy
           - const: qcom,qusb2-v2-phy
Signature · 1 line
2.37.3
maintainer Applied
#2 lore raw

Re: [PATCH v2 1/2] dt-bindings: phy: qcom,qusb2: document sdm670 compatible

Quoted 2 lines · Richard Acayan

The Snapdragon 670 uses the QUSB driver for USB 2.0. Document the compatible used in the device tree.

Applied, thanks

Signature · 1 line
~Vinod
#3 lore raw

PATCH v2 2/2 dt-bindings: usb: dwc3: add sdm670 compatible

In reply to Richard Acayan

The Snapdragon 670 has DWC3 USB support. Add a compatible to reflect that.

---
 Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/usb/qcom,dwc3.yaml +3 -0
index cd2f7cb6745a..94b05e32792c 100644
@@ -26,6 +26,7 @@ properties:
           - qcom,sc7280-dwc3
           - qcom,sc8280xp-dwc3
           - qcom,sdm660-dwc3
+          - qcom,sdm670-dwc3
           - qcom,sdm845-dwc3
           - qcom,sdx55-dwc3
           - qcom,sdx65-dwc3
@@ -175,6 +176,7 @@ allOf:
               - qcom,msm8998-dwc3
               - qcom,sc7180-dwc3
               - qcom,sc7280-dwc3
+              - qcom,sdm670-dwc3
               - qcom,sdm845-dwc3
               - qcom,sdx55-dwc3
               - qcom,sm6350-dwc3
@@ -344,6 +346,7 @@ allOf:
               - qcom,msm8994-dwc3
               - qcom,qcs404-dwc3
               - qcom,sc7180-dwc3
+              - qcom,sdm670-dwc3
               - qcom,sdm845-dwc3
               - qcom,sdx55-dwc3
               - qcom,sdx65-dwc3
Signature · 1 line
2.37.3
Acked-by on v2 2/2
#4 lore raw

Re: [PATCH v2 2/2] dt-bindings: usb: dwc3: add sdm670 compatible

Quoted 7 lines · Richard Acayan

The Snapdragon 670 has DWC3 USB support. Add a compatible to reflect that.

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

Best regards,
Krzysztof

Signature · 3 lines
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
maintainer
#5 lore raw
In reply to Richard Acayan
Quoted 7 lines · Richard Acayan

Changes since v1:
- drop driver patch (some maintainers might be excluded from v3 recipients because of this)
- add entries in usb clocks and interrupts

This adds compatible strings for USB 2.0 on the Qualcomm Snapdragon 670. I have no way to test USB 3.0 because my SDM670 device doesn't have USB 3.

No driver use for this?

Quoted 5 lines
 Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml | 1 +
 Documentation/devicetree/bindings/usb/qcom,dwc3.yaml      | 3 +++
 2 files changed, 4 insertions(+)
Signature · 1 line
~Vinod
#6 lore raw
Quoted 10 lines · Vinod Koul
Quoted 7 lines · Richard Acayan

Changes since v1:
- drop driver patch (some maintainers might be excluded from v3 recipients because of this)
- add entries in usb clocks and interrupts

This adds compatible strings for USB 2.0 on the Qualcomm Snapdragon 670. I have no way to test USB 3.0 because my SDM670 device doesn't have USB 3.

No driver use for this?

Driver already supports it.

Best regards,
Krzysztof

Signature · 3 lines
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy