OSDN Git Service

dt-bindings: net: dwmac: document 'mac-mode' property
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Fri, 6 Sep 2019 13:02:56 +0000 (16:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Sep 2019 14:27:09 +0000 (15:27 +0100)
This change documents the 'mac-mode' property that was introduced in the
'stmmac' driver to support passive mode converters that can sit in-between
the MAC & PHY.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/snps,dwmac.yaml

index c78be15..ebe4537 100644 (file)
@@ -112,6 +112,14 @@ properties:
   reset-names:
     const: stmmaceth
 
+  mac-mode:
+    maxItems: 1
+    description:
+      The property is identical to 'phy-mode', and assumes that there is mode
+      converter in-between the MAC & PHY (e.g. GMII-to-RGMII). This converter
+      can be passive (no SW requirement), and requires that the MAC operate
+      in a different mode than the PHY in order to function.
+
   snps,axi-config:
     $ref: /schemas/types.yaml#definitions/phandle
     description: