[PATCH 2/8] dt-bindings: soc: qcom: eud: Add usb role switch property

Elson Roy Serrao
2024-07-30T22:24:48Z

EUD hub is physically present in between the USB connector and the
USB controller. So the role switch notifications originating from
the connector should route through EUD. Hence to interpret the usb
role assigned by the connector, role switch property is needed.

Signed-off-by: Elson Roy Serrao <quic_eserrao@quicinc.com>
---
Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml
index fca5b608ec63..0fa4608568d0 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml
@@ -37,6 +37,10 @@ properties:
items:
- const: usb2-phy

+ usb-role-switch:
+ $ref: /schemas/types.yaml#/definitions/flag
+ description: Support role switch.
+
ports:
$ref: /schemas/graph.yaml#/properties/ports
description:
--
2.17.1