diff mbox series

[20/38] dt-bindings: net: dwc-qos-ethernet: Document interconnect paths

Message ID 20200612141903.2391044-21-thierry.reding@gmail.com
State Changes Requested
Headers show
Series dt-bindings: json-schema conversions and cleanups | expand

Commit Message

Thierry Reding June 12, 2020, 2:18 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

Add optional interconnects and interconnect-names properties to allow
describing the interconnect paths to and from the Ethernet device.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 .../bindings/net/snps,dwc-qos-ethernet.yaml        | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/snps,dwc-qos-ethernet.yaml b/Documentation/devicetree/bindings/net/snps,dwc-qos-ethernet.yaml
index 252f11affd6b..779e06b32278 100644
--- a/Documentation/devicetree/bindings/net/snps,dwc-qos-ethernet.yaml
+++ b/Documentation/devicetree/bindings/net/snps,dwc-qos-ethernet.yaml
@@ -123,6 +123,15 @@  properties:
     description: Enable gating of the MAC TX clock during TX low-power mode.
     $ref: "/schemas/types.yaml#/definitions/flag"
 
+  interconnects:
+    description: Description of the interconnect paths for the ethernet
+      controller; see ../interconnect/interconnect.txt for details.
+    $ref: "/schemas/types.yaml#/definitions/phandle-array"
+
+  interconnect-names:
+    description: A list of names identifying each entry listed in the
+      "interconnects" property.
+
   mdio:
     description: A subnode representing the GMAC's MDIO bus.
     type: object
@@ -208,6 +217,11 @@  allOf:
             - const: tx
             - const: ptp_ref
 
+        interconnect-names:
+          items:
+            - const: dma-mem # read
+            - const: write
+
       required:
         - resets
         - reset-names