Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: usb: ti,usb8041: Support nested USB hubs

Onboard USB hubs might be nested. Add the reference for the generic
usb-hub.yaml binding and lift the restriction on peer-hub.
A (downstream) hub might only be connected on USB High-Speed lines.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260313141220.1843488-1-alexander.stein@ew.tq-group.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Alexander Stein and committed by
Greg Kroah-Hartman
e44297dd edcef7bf

+17 -6
+17 -6
Documentation/devicetree/bindings/usb/ti,usb8041.yaml
··· 11 11 12 12 allOf: 13 13 - $ref: usb-device.yaml# 14 + - $ref: usb-hub.yaml# 14 15 15 16 properties: 16 17 compatible: ··· 31 30 description: 32 31 VDD power supply to the hub 33 32 34 - peer-hub: 35 - $ref: /schemas/types.yaml#/definitions/phandle 36 - description: 37 - phandle to the peer hub on the controller. 33 + peer-hub: true 34 + 35 + patternProperties: 36 + '^.*@[1-9a-f][0-9a-f]*$': 37 + description: The hard wired USB devices 38 + type: object 39 + $ref: /schemas/usb/usb-device.yaml 40 + additionalProperties: true 38 41 39 42 required: 40 43 - compatible 41 44 - reg 42 - - peer-hub 43 45 44 - additionalProperties: false 46 + unevaluatedProperties: false 45 47 46 48 examples: 47 49 - | ··· 60 56 compatible = "usb451,8142"; 61 57 reg = <1>; 62 58 peer-hub = <&hub_3_0>; 59 + #address-cells = <1>; 60 + #size-cells = <0>; 63 61 reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 62 + 63 + hub@1 { 64 + compatible = "usb123,4567"; 65 + reg = <1>; 66 + }; 64 67 }; 65 68 66 69 /* 3.0 hub on port 2 */