]> git.ipfire.org Git - thirdparty/linux.git/commit
net: dsa: lantiq_gswip: allow adjusting MII delays
authorDaniel Golle <daniel@makrotopia.org>
Mon, 3 Nov 2025 12:20:05 +0000 (12:20 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 6 Nov 2025 22:16:17 +0000 (14:16 -0800)
commitcdef8e47b638bcc35b0e05f48269a2667ec665da
tree701a81eeb1d0d7d57fedb4ec348e79f7aa850369
parentbea0c17786116141aaf3980dc73758e3cc0d2748
net: dsa: lantiq_gswip: allow adjusting MII delays

Currently the MII clk vs. data delay is configured based on the PHY
interface mode.

In addition to that add support for setting up MII delays using the
standard Device Tree properties 'tx-internal-delay-ps' and
'rx-internal-delay-ps', using the values determined by the PHY interface
mode as default to maintain backward compatibility with legacy device
trees.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://patch.msgid.link/37203e831cff87dc46e5ef9e8cbd68fb8689773d.1762170107.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/lantiq/lantiq_gswip.h
drivers/net/dsa/lantiq/lantiq_gswip_common.c