[PATCH 1/8] dt-bindings: soc: qcom: eud: Add phy related bindings

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

Embedded USB Debugger(EUD) being a High-Speed USB hub needs
HS-Phy support for it's operation. Hence document phy bindings
to support this.

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

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml
index f2c5ec7e6437..fca5b608ec63 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml
@@ -29,6 +29,14 @@ properties:
description: EUD interrupt
maxItems: 1

+ phys:
+ items:
+ - description: USB2/HS PHY needed for EUD functionality
+
+ phy-names:
+ items:
+ - const: usb2-phy
+
ports:
$ref: /schemas/graph.yaml#/properties/ports
description:
@@ -48,6 +56,8 @@ properties:
required:
- compatible
- reg
+ - phys
+ - phy-names
- ports

additionalProperties: false
@@ -58,6 +68,8 @@ examples:
compatible = "qcom,sc7280-eud", "qcom,eud";
reg = <0x88e0000 0x2000>,
<0x88e2000 0x1000>;
+ phys = <&usb_2_hsphy>;
+ phy-names = "usb2-phy";

ports {
#address-cells = <1>;
--
2.17.1