]> git.ipfire.org Git - thirdparty/linux.git/commit
dt-bindings: net: dsa: lantiq,gswip: add support for MII delay properties
authorDaniel Golle <daniel@makrotopia.org>
Mon, 3 Nov 2025 12:19:58 +0000 (12:19 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 6 Nov 2025 22:16:17 +0000 (14:16 -0800)
commitbea0c17786116141aaf3980dc73758e3cc0d2748
tree062f29fa9e395af430bced6462e3399dd170fd7e
parent319fd7e9d446bb90469a82f876e78785f6da0bc5
dt-bindings: net: dsa: lantiq,gswip: add support for MII delay properties

Add support for standard tx-internal-delay-ps and rx-internal-delay-ps
properties on port nodes to allow fine-tuning of RGMII clock delays.

The GSWIP switch hardware supports delay values in 500 picosecond
increments from 0 to 3500 picoseconds, with a post-reset default of 2000
picoseconds for both TX and RX delays. The driver currently sets the
delay to 0 in case the PHY is setup to carry out the delay by the
corresponding interface modes ("rgmii-id", "rgmii-rxid", "rgmii-txid").

This corresponds to the driver changes that allow adjusting MII delays
using Device Tree properties instead of relying solely on the PHY
interface mode.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/9e007d4f85c2c6d69e0b91f3663d99e0f6fc8eac.1762170107.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml