[PATCH 2/6] dt-bindings: usb: cdns,usb3: support USB devices in DT
Alexander Stein
alexander.stein at ew.tq-group.com
Thu Dec 18 07:20:49 PST 2025
Reference usb-hxci.yaml in host mode in order to support on-board USB
hubs.
Signed-off-by: Alexander Stein <alexander.stein at ew.tq-group.com>
---
Documentation/devicetree/bindings/usb/cdns,usb3.yaml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/cdns,usb3.yaml b/Documentation/devicetree/bindings/usb/cdns,usb3.yaml
index f454ddd9bbaa6..1f7f0adc3b1ed 100644
--- a/Documentation/devicetree/bindings/usb/cdns,usb3.yaml
+++ b/Documentation/devicetree/bindings/usb/cdns,usb3.yaml
@@ -85,6 +85,17 @@ required:
allOf:
- $ref: usb-drd.yaml#
+ - if:
+ properties:
+ dr_mode:
+ const: peripheral
+
+ required:
+ - dr_mode
+ then:
+ $ref: usb.yaml#
+ else:
+ $ref: usb-xhci.yaml#
unevaluatedProperties: false
--
2.43.0
More information about the linux-arm-kernel
mailing list