build/patch/kernel/archive/sunxi-6.4/patches.megous/dt-bindings-net-phy-Support-external-PHY-xtal.patch

38 lines
1.2 KiB
Diff

From 04aec9880317bf610ef96ca27bb7bc5b466c4d2f Mon Sep 17 00:00:00 2001
From: Detlev Casanova <detlev.casanova@collabora.com>
Date: Mon, 29 May 2023 10:05:12 -0400
Subject: [PATCH 435/469] dt-bindings: net: phy: Support external PHY xtal
Ethernet PHYs can have external an clock that needs to be activated before
probing the PHY.
Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
---
.../devicetree/bindings/net/ethernet-phy.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
index 4f574532ee13..e83a33c2aa59 100644
--- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
@@ -93,6 +93,16 @@ properties:
the turn around line low at end of the control phase of the
MDIO transaction.
+ clock-names:
+ items:
+ - const: xtal
+
+ 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:
--
2.34.1