Commit 955f5b15 authored by Rob Herring (Arm)'s avatar Rob Herring (Arm) Committed by Jakub Kicinski

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: default avatarRob Herring (Arm) <robh@kernel.org>
Reviewed-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://patch.msgid.link/20240909172342.487675-2-robh@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 3a1f6f45
...@@ -58,18 +58,18 @@ allOf: ...@@ -58,18 +58,18 @@ allOf:
- const: timing-adjustment - const: timing-adjustment
amlogic,tx-delay-ns: amlogic,tx-delay-ns:
$ref: /schemas/types.yaml#/definitions/uint32 enum: [0, 2, 4, 6]
default: 2
description: description:
The internal RGMII TX clock delay (provided by this driver) in The internal RGMII TX clock delay (provided by this driver)
nanoseconds. Allowed values are 0ns, 2ns, 4ns, 6ns. in nanoseconds. When phy-mode is set to "rgmii" then the TX
When phy-mode is set to "rgmii" then the TX delay should be delay should be explicitly configured. When the phy-mode is
explicitly configured. When not configured a fallback of 2ns is set to either "rgmii-id" or "rgmii-txid" the TX clock delay
used. When the phy-mode is set to either "rgmii-id" or "rgmii-txid" is already provided by the PHY. In that case this property
the TX clock delay is already provided by the PHY. In that case should be set to 0ns (which disables the TX clock delay in
this property should be set to 0ns (which disables the TX clock the MAC to prevent the clock from going off because both
delay in the MAC to prevent the clock from going off because both PHY and MAC are adding a delay). Any configuration is
PHY and MAC are adding a delay). ignored when the phy-mode is set to "rmii".
Any configuration is ignored when the phy-mode is set to "rmii".
amlogic,rx-delay-ns: amlogic,rx-delay-ns:
deprecated: true deprecated: true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment