[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230406173308.401924-4-kory.maincent@bootlin.com>
Date: Thu, 6 Apr 2023 19:33:06 +0200
From: Köry Maincent <kory.maincent@...tlin.com>
To: netdev@...r.kernel.org
Cc: kuba@...nel.org, glipus@...il.com, maxime.chevallier@...tlin.com,
vladimir.oltean@....com, vadim.fedorenko@...ux.dev,
richardcochran@...il.com, gerhard@...leder-embedded.com,
thomas.petazzoni@...tlin.com, krzysztof.kozlowski+dt@...aro.org,
robh+dt@...nel.org, linux@...linux.org.uk,
Kory Maincent <kory.maincent@...tlin.com>
Subject: [PATCH net-next RFC v4 3/5] dt-bindings: net: phy: add timestamp preferred choice property
From: Kory Maincent <kory.maincent@...tlin.com>
Add property to select the preferred hardware timestamp layer.
The choice of using devicetree binding has been made as the PTP precision
and quality depends of external things, like adjustable clock, or the lack
of a temperature compensated crystal or specific features. Even if the
preferred timestamp is a configuration it is hardly related to the design
of the board.
Signed-off-by: Kory Maincent <kory.maincent@...tlin.com>
---
Documentation/devicetree/bindings/net/ethernet-phy.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
index ac04f8efa35c..32d7ef7520e6 100644
--- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
@@ -144,6 +144,13 @@ properties:
Mark the corresponding energy efficient ethernet mode as
broken and request the ethernet to stop advertising it.
+ preferred-timestamp:
+ enum:
+ - phy
+ - mac
+ description:
+ Specifies the preferred hardware timestamp layer.
+
pses:
$ref: /schemas/types.yaml#/definitions/phandle-array
maxItems: 1
--
2.25.1
Powered by blists - more mailing lists