Devicetree
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: usb: ti,usb8041: Fold in TI USB8020B
@ 2026-11-03  9:53 Chen-Yu Tsai
  2026-11-03 11:16 ` Alexander Stein
  0 siblings, 1 reply; 2+ messages in thread
From: Chen-Yu Tsai @ 2026-11-03  9:53 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Alexander Stein, Macpaul Lin
  Cc: Chen-Yu Tsai, linux-usb, devicetree

TI USB8020B is another USB 3.0 hub that currently has a separate yet
similar, albeit more limited binding.

Fold the TI USB8020B compatibles into the TI USB8041 binding, thus
allowing the TI USB8020B to correctly allow downstream ports through
the common USB hub binding.

The requirement of "peer-hub" is relaxed, as done in commit e44297dd2b75
("dt-bindings: usb: ti,usb8041: Support nested USB hubs"). The hub chip
might only have its HighSpeed data lines connected, and thus would not
have a SuperSpeed peer hub.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
---
Cc: Macpaul Lin <macpaul.lin@mediatek.com>
---
 .../devicetree/bindings/usb/ti,usb8020b.yaml  | 69 -------------------
 .../devicetree/bindings/usb/ti,usb8041.yaml   |  5 +-
 2 files changed, 4 insertions(+), 70 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/usb/ti,usb8020b.yaml

diff --git a/Documentation/devicetree/bindings/usb/ti,usb8020b.yaml b/Documentation/devicetree/bindings/usb/ti,usb8020b.yaml
deleted file mode 100644
index 61217da8b2f3..000000000000
--- a/Documentation/devicetree/bindings/usb/ti,usb8020b.yaml
+++ /dev/null
@@ -1,69 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
-%YAML 1.2
----
-$id: http://devicetree.org/schemas/usb/ti,usb8020b.yaml#
-$schema: http://devicetree.org/meta-schemas/core.yaml#
-
-title: TI USB8020B USB 3.0 hub controller
-
-maintainers:
-  - Macpaul Lin <macpaul.lin@mediatek.com>
-
-allOf:
-  - $ref: usb-device.yaml#
-
-properties:
-  compatible:
-    enum:
-      - usb451,8025
-      - usb451,8027
-
-  reg: true
-
-  reset-gpios:
-    items:
-      - description: GPIO specifier for GRST# pin.
-
-  vdd-supply:
-    description:
-      VDD power supply to the hub
-
-  peer-hub:
-    $ref: /schemas/types.yaml#/definitions/phandle
-    description:
-      phandle to the peer hub on the controller.
-
-required:
-  - compatible
-  - reg
-  - peer-hub
-
-additionalProperties: false
-
-examples:
-  - |
-    #include <dt-bindings/gpio/gpio.h>
-
-    usb {
-        dr_mode = "host";
-        #address-cells = <1>;
-        #size-cells = <0>;
-
-        /* 2.0 hub on port 1 */
-        hub_2_0: hub@1 {
-            compatible = "usb451,8027";
-            reg = <1>;
-            peer-hub = <&hub_3_0>;
-            reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
-            vdd-supply = <&usb_hub_fixed_3v3>;
-        };
-
-        /* 3.0 hub on port 2 */
-        hub_3_0: hub@2 {
-            compatible = "usb451,8025";
-            reg = <2>;
-            peer-hub = <&hub_2_0>;
-            reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
-            vdd-supply = <&usb_hub_fixed_3v3>;
-        };
-    };
diff --git a/Documentation/devicetree/bindings/usb/ti,usb8041.yaml b/Documentation/devicetree/bindings/usb/ti,usb8041.yaml
index 07e13fae640b..74021d13a43a 100644
--- a/Documentation/devicetree/bindings/usb/ti,usb8041.yaml
+++ b/Documentation/devicetree/bindings/usb/ti,usb8041.yaml
@@ -4,10 +4,11 @@
 $id: http://devicetree.org/schemas/usb/ti,usb8041.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
-title: TI USB8041 and USB8044 USB 3.0 hub controllers
+title: TI USB80xx USB 3.0 hub controllers
 
 maintainers:
   - Alexander Stein <alexander.stein@ew.tq-group.com>
+  - Macpaul Lin <macpaul.lin@mediatek.com>
 
 allOf:
   - $ref: usb-device.yaml#
@@ -16,6 +17,8 @@ allOf:
 properties:
   compatible:
     enum:
+      - usb451,8025
+      - usb451,8027
       - usb451,8140
       - usb451,8142
       - usb451,8440
-- 
2.56.0.385.gac671c819a-goog


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

* Re: [PATCH] dt-bindings: usb: ti,usb8041: Fold in TI USB8020B
  2026-11-03  9:53 [PATCH] dt-bindings: usb: ti,usb8041: Fold in TI USB8020B Chen-Yu Tsai
@ 2026-11-03 11:16 ` Alexander Stein
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Stein @ 2026-11-03 11:16 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Macpaul Lin, Chen-Yu Tsai
  Cc: Chen-Yu Tsai, linux-usb, devicetree

Am Dienstag, 3. November 2026, 10:53:29 Mitteleuropäische Normalzeit schrieb Chen-Yu Tsai:
> TI USB8020B is another USB 3.0 hub that currently has a separate yet
> similar, albeit more limited binding.
> 
> Fold the TI USB8020B compatibles into the TI USB8041 binding, thus
> allowing the TI USB8020B to correctly allow downstream ports through
> the common USB hub binding.
> 
> The requirement of "peer-hub" is relaxed, as done in commit e44297dd2b75
> ("dt-bindings: usb: ti,usb8041: Support nested USB hubs"). The hub chip
> might only have its HighSpeed data lines connected, and thus would not
> have a SuperSpeed peer hub.
> 
> Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>

Looks good to me:
Acked-by: Alexander Stein <alexander.stein@ew.tq-group.com>

> ---
> Cc: Macpaul Lin <macpaul.lin@mediatek.com>
> ---
>  .../devicetree/bindings/usb/ti,usb8020b.yaml  | 69 -------------------
>  .../devicetree/bindings/usb/ti,usb8041.yaml   |  5 +-
>  2 files changed, 4 insertions(+), 70 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/usb/ti,usb8020b.yaml
> 
> diff --git a/Documentation/devicetree/bindings/usb/ti,usb8020b.yaml b/Documentation/devicetree/bindings/usb/ti,usb8020b.yaml
> deleted file mode 100644
> index 61217da8b2f3..000000000000
> --- a/Documentation/devicetree/bindings/usb/ti,usb8020b.yaml
> +++ /dev/null
> @@ -1,69 +0,0 @@
> -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> -%YAML 1.2
> ----
> -$id: http://devicetree.org/schemas/usb/ti,usb8020b.yaml#
> -$schema: http://devicetree.org/meta-schemas/core.yaml#
> -
> -title: TI USB8020B USB 3.0 hub controller
> -
> -maintainers:
> -  - Macpaul Lin <macpaul.lin@mediatek.com>
> -
> -allOf:
> -  - $ref: usb-device.yaml#
> -
> -properties:
> -  compatible:
> -    enum:
> -      - usb451,8025
> -      - usb451,8027
> -
> -  reg: true
> -
> -  reset-gpios:
> -    items:
> -      - description: GPIO specifier for GRST# pin.
> -
> -  vdd-supply:
> -    description:
> -      VDD power supply to the hub
> -
> -  peer-hub:
> -    $ref: /schemas/types.yaml#/definitions/phandle
> -    description:
> -      phandle to the peer hub on the controller.
> -
> -required:
> -  - compatible
> -  - reg
> -  - peer-hub
> -
> -additionalProperties: false
> -
> -examples:
> -  - |
> -    #include <dt-bindings/gpio/gpio.h>
> -
> -    usb {
> -        dr_mode = "host";
> -        #address-cells = <1>;
> -        #size-cells = <0>;
> -
> -        /* 2.0 hub on port 1 */
> -        hub_2_0: hub@1 {
> -            compatible = "usb451,8027";
> -            reg = <1>;
> -            peer-hub = <&hub_3_0>;
> -            reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
> -            vdd-supply = <&usb_hub_fixed_3v3>;
> -        };
> -
> -        /* 3.0 hub on port 2 */
> -        hub_3_0: hub@2 {
> -            compatible = "usb451,8025";
> -            reg = <2>;
> -            peer-hub = <&hub_2_0>;
> -            reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
> -            vdd-supply = <&usb_hub_fixed_3v3>;
> -        };
> -    };
> diff --git a/Documentation/devicetree/bindings/usb/ti,usb8041.yaml b/Documentation/devicetree/bindings/usb/ti,usb8041.yaml
> index 07e13fae640b..74021d13a43a 100644
> --- a/Documentation/devicetree/bindings/usb/ti,usb8041.yaml
> +++ b/Documentation/devicetree/bindings/usb/ti,usb8041.yaml
> @@ -4,10 +4,11 @@
>  $id: http://devicetree.org/schemas/usb/ti,usb8041.yaml#
>  $schema: http://devicetree.org/meta-schemas/core.yaml#
>  
> -title: TI USB8041 and USB8044 USB 3.0 hub controllers
> +title: TI USB80xx USB 3.0 hub controllers
>  
>  maintainers:
>    - Alexander Stein <alexander.stein@ew.tq-group.com>
> +  - Macpaul Lin <macpaul.lin@mediatek.com>
>  
>  allOf:
>    - $ref: usb-device.yaml#
> @@ -16,6 +17,8 @@ allOf:
>  properties:
>    compatible:
>      enum:
> +      - usb451,8025
> +      - usb451,8027
>        - usb451,8140
>        - usb451,8142
>        - usb451,8440
> 


-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/



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

end of thread, other threads:[~2026-11-03 11:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-03  9:53 [PATCH] dt-bindings: usb: ti,usb8041: Fold in TI USB8020B Chen-Yu Tsai
2026-11-03 11:16 ` Alexander Stein

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