dt-bindings: net: mdio: add reset-post-delay-us property
authorBruno Thomsen <bruno.thomsen@gmail.com>
Thu, 30 Jul 2020 19:57:46 +0000 (21:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Aug 2020 22:01:02 +0000 (15:01 -0700)
Add "reset-post-delay-us" parameter to MDIO bus properties,
so it's possible to add a delay after reset deassert.
This is optional in case external hardware slows down
release of the reset signal.

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/mdio.yaml

index d6a3bf8550eb59f402f8cdae4a078307c39c4569..26afb556dfae6203266656a768f22d8710701263 100644 (file)
@@ -39,6 +39,13 @@ properties:
       and must therefore be appropriately determined based on all devices
       requirements (maximum value of all per-device RESET pulse widths).
 
+  reset-post-delay-us:
+    description:
+      Delay after reset deassert in microseconds. It applies to all MDIO
+      devices and it's determined by how fast all devices are ready for
+      communication. This delay happens just before e.g. Ethernet PHY
+      type ID auto detection.
+
   clock-frequency:
     description:
       Desired MDIO bus clock frequency in Hz. Values greater than IEEE 802.3