diff mbox series

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

Message ID 20230525094237.2846682-1-thierry.reding@gmail.com (mailing list archive)
State Accepted
Commit 33f2d12d040059bce36dbd8ab9ecc7a580bd4d77
Headers show
Series dt-bindings: usb: tegra-xudc: Remove extraneous PHYs | expand

Commit Message

Thierry Reding May 25, 2023, 9:42 a.m. UTC
From: Thierry Reding <treding@nvidia.com>

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.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 .../devicetree/bindings/usb/nvidia,tegra-xudc.yaml         | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Comments

Conor Dooley May 25, 2023, 4:19 p.m. UTC | #1
On Thu, May 25, 2023 at 11:42:37AM +0200, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> 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.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.

> ---
>  .../devicetree/bindings/usb/nvidia,tegra-xudc.yaml         | 7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml b/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
> index e2270ce0c56b..c6e661e8915c 100644
> --- a/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
> +++ b/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
> @@ -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.
> -- 
> 2.40.1
>
Thierry Reding May 26, 2023, 3:10 p.m. UTC | #2
From: Thierry Reding <treding@nvidia.com>


On Thu, 25 May 2023 11:42:37 +0200, Thierry Reding wrote:
> 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,
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml b/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
index e2270ce0c56b..c6e661e8915c 100644
--- a/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
+++ b/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
@@ -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.