net: phy: MII-Lite PHY interface mode
authorKamil Horák - 2N <kamilh@axis.com>
Tue, 8 Jul 2025 09:01:37 +0000 (11:01 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Jul 2025 02:32:30 +0000 (19:32 -0700)
commit67c0170566b55b1f6ee3567c94ff679104277e2d
tree10e7db8077758d6c7e7c5ea08a243b7122b1b427
parent6dfcbd7d1d657994a57b53ad4be834eb783f32bc
net: phy: MII-Lite PHY interface mode

Some Broadcom PHYs are capable to operate in simplified MII mode,
without TXER, RXER, CRS and COL signals as defined for the MII.
The MII-Lite mode can be used on most Ethernet controllers with full
MII interface by just leaving the input signals (RXER, CRS, COL)
inactive. The absence of COL signal makes half-duplex link modes
impossible but does not interfere with BroadR-Reach link modes on
Broadcom PHYs, because they are all full-duplex only.

Add MII-Lite interface mode, especially for Broadcom two-wire PHYs.

Signed-off-by: Kamil Horák - 2N <kamilh@axis.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/20250708090140.61355-2-kamilh@axis.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/phy.rst
drivers/net/phy/phy-core.c
drivers/net/phy/phy_caps.c
drivers/net/phy/phylink.c
include/linux/phy.h