Skip to contentSkip to conversation

dt-bindings: usb: tegra-xudc: Remove extraneous PHYs

PATCH Applied Thierry Reding 2 participants 3 messages May 25, 2023 – May 26, 2023

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

PATCH 1/1 dt-bindings: usb: tegra-xudc: Remove extraneous PHYs

From: Thierry Reding <[email protected]>

The USB device controller on Tegra210 and later supports one USB 2/3 port, so only a single pair of PHYs is needed. Drop any of the extra PHYs from the bindings.

---
 .../devicetree/bindings/usb/nvidia,tegra-xudc.yaml         | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml +1 -6
index e2270ce0c56b..c6e661e8915c 100644
@@ -91,6 +91,7 @@ properties:
 
   phys:
     minItems: 1
+    maxItems: 2
     description:
       Must contain an entry for each entry in phy-names.
       See ../phy/phy-bindings.txt for details.
@@ -99,13 +100,7 @@ properties:
     minItems: 1
     items:
       - const: usb2-0
-      - const: usb2-1
-      - const: usb2-2
-      - const: usb2-3
       - const: usb3-0
-      - const: usb3-1
-      - const: usb3-2
-      - const: usb3-3
 
   avddio-usb-supply:
     description: PCIe/USB3 analog logic power supply. Must supply 1.05 V.
Signature · 1 line
2.40.1
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Thierry Reding

From: Thierry Reding <[email protected]>

The USB device controller on Tegra210 and later supports one USB 2/3 port, so only a single pair of PHYs is needed. Drop any of the extra PHYs from the bindings.

Thanks,
Conor.

Quoted 33 lines
---
 .../devicetree/bindings/usb/nvidia,tegra-xudc.yaml         | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml +1 -6
index e2270ce0c56b..c6e661e8915c 100644
@@ -91,6 +91,7 @@ properties:
 
   phys:
     minItems: 1
+    maxItems: 2
     description:
       Must contain an entry for each entry in phy-names.
       See ../phy/phy-bindings.txt for details.
@@ -99,13 +100,7 @@ properties:
     minItems: 1
     items:
       - const: usb2-0
-      - const: usb2-1
-      - const: usb2-2
-      - const: usb2-3
       - const: usb3-0
-      - const: usb3-1
-      - const: usb3-2
-      - const: usb3-3
 
   avddio-usb-supply:
     description: PCIe/USB3 analog logic power supply. Must supply 1.05 V.
Signature · 1 line
2.40.1
author Applied
#2 lore raw
In reply to Thierry Reding

From: Thierry Reding <[email protected]>

Quoted 5 lines · Thierry Reding

The USB device controller on Tegra210 and later supports one USB 2/3 port, so only a single pair of PHYs is needed. Drop any of the extra PHYs from the bindings.

Applied, thanks!

[1/1] dt-bindings: usb: tegra-xudc: Remove extraneous PHYs

      commit: 33f2d12d040059bce36dbd8ab9ecc7a580bd4d77

Best regards,

Signature · 1 line
Thierry Reding <[email protected]>