EUD hardware supports debugging on up to two USB ports depending on the
SoC configuration. Debugging can be selected on either the primary or
secondary USB port as controlled by the EUD_PORT_SELECT register.
Extend the binding to support dual-port configurations by adding port@2
and port@3 for secondary USB controller and Type-C connector connections.
Signed-off-by: Elson Serrao <elson.serrao@oss.qualcomm.com>
---
.../bindings/soc/qcom/qcom,eud.yaml | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml
index 84218636c0d8..af89b9e0be6f 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml
@@ -32,18 +32,27 @@ properties:
ports:
$ref: /schemas/graph.yaml#/properties/ports
description:
- These ports is to be attached to the endpoint of the DWC3 controller node
- and type C connector node. The controller has the "usb-role-switch"
- property.
+ These ports attach to endpoints of DWC3 controller nodes and Type-C
+ connector nodes. The controller has the "usb-role-switch" property.
+ EUD supports up to 2 USB ports. For single-port configurations, use
+ port@0 and port@1. For dual-port configurations, use all four ports.
properties:
port@0:
$ref: /schemas/graph.yaml#/properties/port
- description: This port is to be attached to the DWC3 controller.
+ description: This port is to be attached to the primary DWC3 controller.
port@1:
$ref: /schemas/graph.yaml#/properties/port
- description: This port is to be attached to the type C connector.
+ description: This port is to be attached to the primary Type-C connector.
+
+ port@2:
+ $ref: /schemas/graph.yaml#/properties/port
+ description: This port is to be attached to the secondary DWC3 controller.
+
+ port@3:
+ $ref: /schemas/graph.yaml#/properties/port
+ description: This port is to be attached to the secondary Type-C connector.
required:
- compatible
--
2.34.1