Skip to content

Commit 955f5b1

Browse files
robherringkuba-moo
authored andcommitted
net: amlogic,meson-dwmac: Fix "amlogic,tx-delay-ns" schema
The "amlogic,tx-delay-ns" property schema has unnecessary type reference as it's a standard unit suffix, and the constraints are in freeform text rather than schema. Signed-off-by: Rob Herring (Arm) <[email protected]> Reviewed-by: Martin Blumenstingl <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 3a1f6f4 commit 955f5b1

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,18 @@ allOf:
5858
- const: timing-adjustment
5959

6060
amlogic,tx-delay-ns:
61-
$ref: /schemas/types.yaml#/definitions/uint32
61+
enum: [0, 2, 4, 6]
62+
default: 2
6263
description:
63-
The internal RGMII TX clock delay (provided by this driver) in
64-
nanoseconds. Allowed values are 0ns, 2ns, 4ns, 6ns.
65-
When phy-mode is set to "rgmii" then the TX delay should be
66-
explicitly configured. When not configured a fallback of 2ns is
67-
used. When the phy-mode is set to either "rgmii-id" or "rgmii-txid"
68-
the TX clock delay is already provided by the PHY. In that case
69-
this property should be set to 0ns (which disables the TX clock
70-
delay in the MAC to prevent the clock from going off because both
71-
PHY and MAC are adding a delay).
72-
Any configuration is ignored when the phy-mode is set to "rmii".
64+
The internal RGMII TX clock delay (provided by this driver)
65+
in nanoseconds. When phy-mode is set to "rgmii" then the TX
66+
delay should be explicitly configured. When the phy-mode is
67+
set to either "rgmii-id" or "rgmii-txid" the TX clock delay
68+
is already provided by the PHY. In that case this property
69+
should be set to 0ns (which disables the TX clock delay in
70+
the MAC to prevent the clock from going off because both
71+
PHY and MAC are adding a delay). Any configuration is
72+
ignored when the phy-mode is set to "rmii".
7373

7474
amlogic,rx-delay-ns:
7575
deprecated: true

0 commit comments

Comments
 (0)