dt-bindings: net: phy: vsc8531: document the load/save GPIO
authorAntoine Tenart <antoine.tenart@bootlin.com>
Tue, 23 Jun 2020 14:30:13 +0000 (16:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2020 21:33:16 +0000 (14:33 -0700)
A new optional property can be used to reference the load/save GPIO,
used for PTP hardware clock (PHC) operations. This patch documents it in
the binding documentation.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt

index 5ff37c6..87a27d7 100644 (file)
@@ -31,6 +31,8 @@ Optional properties:
                          VSC8531_LINK_100_ACTIVITY (2),
                          VSC8531_LINK_ACTIVITY (0) and
                          VSC8531_DUPLEX_COLLISION (8).
+- load-save-gpios      : GPIO used for the load/save operation of the PTP
+                         hardware clock (PHC).
 
 
 Table: 1 - Edge rate change
@@ -67,4 +69,5 @@ Example:
                 vsc8531,edge-slowdown  = <7>;
                 vsc8531,led-0-mode     = <LINK_1000_ACTIVITY>;
                 vsc8531,led-1-mode     = <LINK_100_ACTIVITY>;
+               load-save-gpios         = <&gpio 10 GPIO_ACTIVE_HIGH>;
         };