aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net/mdio.yaml
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2020-04-20 00:04:02 +0200
committerDavid S. Miller <davem@davemloft.net>2020-04-20 12:37:08 -0700
commit3c01eb62d1bd85a5dd1d22d74339728666ae2c45 (patch)
treef8aa28032665f846453415cddc78b8dca8b84580 /Documentation/devicetree/bindings/net/mdio.yaml
parentnet: ethernet: fec: Allow configuration of MDIO bus speed (diff)
downloadlinux-dev-3c01eb62d1bd85a5dd1d22d74339728666ae2c45.tar.xz
linux-dev-3c01eb62d1bd85a5dd1d22d74339728666ae2c45.zip
net: ethernet: fec: Allow the MDIO preamble to be disabled
An MDIO transaction normally starts with 32 1s as a preamble. However not all devices requires such a preamble. Add a device tree property which allows the preamble to be suppressed. This will half the size of the MDIO transaction, allowing faster transactions. But it should only be used when all devices on the bus support suppressed preamble. Suggested-by: Chris Healy <Chris.Healy@zii.aero> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net/mdio.yaml')
-rw-r--r--Documentation/devicetree/bindings/net/mdio.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/mdio.yaml b/Documentation/devicetree/bindings/net/mdio.yaml
index ab4a9df8b8e2..cd6c6ae6dabb 100644
--- a/Documentation/devicetree/bindings/net/mdio.yaml
+++ b/Documentation/devicetree/bindings/net/mdio.yaml
@@ -45,6 +45,12 @@ properties:
defined 2.5MHz should only be used when all devices on the bus support
the given clock speed.
+ suppress-preamble:
+ description:
+ The 32 bit preamble should be suppressed. In order for this to
+ work, all devices on the bus must support suppressed preamble.
+ type: boolean
+
patternProperties:
"^ethernet-phy@[0-9a-f]+$":
type: object