OSDN Git Service

dt-bindings: net: phy: Document support for external PHY clk
authorDetlev Casanova <detlev.casanova@collabora.com>
Mon, 5 Jun 2023 15:40:09 +0000 (11:40 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Jun 2023 08:52:24 +0000 (09:52 +0100)
Ethern PHYs can have external an clock that needs to be activated before
communicating with the PHY.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/ethernet-phy.yaml

index 4f57453..c1241c8 100644 (file)
@@ -93,6 +93,12 @@ properties:
       the turn around line low at end of the control phase of the
       MDIO transaction.
 
+  clocks:
+    maxItems: 1
+    description:
+      External clock connected to the PHY. If not specified it is assumed
+      that the PHY uses a fixed crystal or an internal oscillator.
+
   enet-phy-lane-swap:
     $ref: /schemas/types.yaml#/definitions/flag
     description: