All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: usb: tegra-xudc: Remove extraneous PHYs
@ 2023-05-25  9:42 Thierry Reding
  2023-05-25 16:19 ` Conor Dooley
  2023-05-26 15:10 ` Thierry Reding
  0 siblings, 2 replies; 3+ messages in thread
From: Thierry Reding @ 2023-05-25  9:42 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Jon Hunter, devicetree, linux-tegra, linux-usb

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(-)

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


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

* Re: [PATCH] dt-bindings: usb: tegra-xudc: Remove extraneous PHYs
  2023-05-25  9:42 [PATCH] dt-bindings: usb: tegra-xudc: Remove extraneous PHYs Thierry Reding
@ 2023-05-25 16:19 ` Conor Dooley
  2023-05-26 15:10 ` Thierry Reding
  1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2023-05-25 16:19 UTC (permalink / raw)
  To: Thierry Reding
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jon Hunter,
	devicetree, linux-tegra, linux-usb

[-- Attachment #1: Type: text/plain, Size: 1509 bytes --]

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
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH] dt-bindings: usb: tegra-xudc: Remove extraneous PHYs
  2023-05-25  9:42 [PATCH] dt-bindings: usb: tegra-xudc: Remove extraneous PHYs Thierry Reding
  2023-05-25 16:19 ` Conor Dooley
@ 2023-05-26 15:10 ` Thierry Reding
  1 sibling, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2023-05-26 15:10 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding
  Cc: Jon Hunter, devicetree, linux-tegra, linux-usb

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,
-- 
Thierry Reding <treding@nvidia.com>

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

end of thread, other threads:[~2023-05-26 15:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-25  9:42 [PATCH] dt-bindings: usb: tegra-xudc: Remove extraneous PHYs Thierry Reding
2023-05-25 16:19 ` Conor Dooley
2023-05-26 15:10 ` Thierry Reding

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.