[PATCH net-next v4 02/10] dt-bindings: net: mediatek-dwmac: deprecate rx/tx delay vendor properties

From: Louis-Alexis Eyraud

Date: Tue Nov 03 2026 - 05:49:24 EST


The mediatek-dwmac bindings provides the 'mediatek,rx-delay-ps' and
'mediatek,tx-delay-ps' vendor properties for describing the internal
RX and TX clock delays.

The generic Ethernet controller bindings also provides standard
properties to describe the same kind of property with the same unit
(picoseconds)

So, ddd deprecated flag to these vendor properties and update their
descriptions to tell to user to prefer standard properties over vendor
ones.

Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@xxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/net/mediatek-dwmac.yaml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/mediatek-dwmac.yaml b/Documentation/devicetree/bindings/net/mediatek-dwmac.yaml
index 14f9683f20fe..956240616638 100644
--- a/Documentation/devicetree/bindings/net/mediatek-dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/mediatek-dwmac.yaml
@@ -80,6 +80,7 @@ properties:
interface and timing delay.

mediatek,tx-delay-ps:
+ deprecated: true
description:
The internal TX clock delay (provided by this driver) in picoseconds.
For MT2712 RGMII interface, Allowed value need to be a multiple of 170,
@@ -88,8 +89,11 @@ properties:
or will round down. Range 0~31*550.
For MT8188/MT8195 RGMII/RMII/MII interface, Allowed value need to be a multiple of 290,
or will round down. Range 0~31*290.
+ Deprecated, this property should not used anymore for RGMII TX internal delays,
+ the standard tx-internal-delay-ps property should be used instead.

mediatek,rx-delay-ps:
+ deprecated: true
description:
The internal RX clock delay (provided by this driver) in picoseconds.
For MT2712 RGMII interface, Allowed value need to be a multiple of 170,
@@ -98,6 +102,8 @@ properties:
or will round down. Range 0~31*550.
For MT8188/MT8195 RGMII/RMII/MII interface, Allowed value need to be a multiple
of 290, or will round down. Range 0~31*290.
+ Deprecated, this property should not used anymore for RGMII RX internal delays,
+ the standard rx-internal-delay-ps property should be used instead.

mediatek,rmii-rxc:
type: boolean

--
2.56.0