]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: phy: micrel: add option to keep the preamble before sfd for KSZ9131
authorStefan Eichenberger <stefan.eichenberger@toradex.com>
Tue, 20 Jan 2026 20:30:03 +0000 (21:30 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Jan 2026 02:27:32 +0000 (18:27 -0800)
commitfa1197a09496e6145e3d54a5ce60334a65595d48
tree0d17a872349b0289e7054b6177f18357f157b6fa
parent2153e151c27cee16f5b33b882aa7ffe03bc7afc8
net: phy: micrel: add option to keep the preamble before sfd for KSZ9131

If the PHY_F_KEEP_PREAMBLE_BEFORE_SFD flag is set in the
phy_device::dev_flags field, the preamble will be kept before the start
frame delimiter (SFD) on the KSZ9131 PHY. This flag is not officially
documented by Micrel. However, information provided by NXP and Micrel
indicates that this flag ensures the PHY sends the full preamble instead
of removing it. The full discussion can be found on the NXP forum:
https://community.nxp.com/t5/i-MX-Processors/iMX8MP-eqos-not-working-for-10base-t/m-p/2151032

Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20260120203905.23805-3-eichest@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/micrel.c