[PATCH 1/2] dt-bindings: usb: hcd: Add downstream USB ports
Chen-Yu Tsai
wenst at chromium.org
Wed Oct 14 01:20:35 PDT 2026
Besides hard-wired downstream USB devices, a USB HCD's downstream ports
can also connect to USB connector nodes via OF graph, just like with a
USB hub.
Allow a "ports" child node and describe the possible downstream port
nodes. USB downstream port numbers start at 1.
Also fix up the address portion of hard-wired downstream USB devices to
match.
Signed-off-by: Chen-Yu Tsai <wenst at chromium.org>
---
Documentation/devicetree/bindings/usb/usb-hcd.yaml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml
index 45a19d4928af..24df99dfb243 100644
--- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml
+++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml
@@ -29,8 +29,16 @@ properties:
"#size-cells":
const: 0
+ ports:
+ $ref: /schemas/graph.yaml#/properties/ports
+ description: The downstream facing USB ports
+
+ patternProperties:
+ "^port@[1-9a-f][0-9a-f]?$":
+ $ref: /schemas/graph.yaml#/properties/port
+
patternProperties:
- "^.*@[0-9a-f]{1,2}$":
+ "^.*@[1-9a-f][0-9a-f]?$":
description: The hard wired USB devices
type: object
$ref: /schemas/usb/usb-device.yaml
--
2.56.0.212.g129ede20d9-goog
More information about the linux-riscv
mailing list