net: lan743x: add RMII support for PCI11x1x
Get series with b4
b4 am [email protected]Versions newest first
- v5 Latest0 of 2 patches 0 repliesNew
Changes in v5 from the cover letter
- Always write RMII_CTL with explicit set/clear of RMII_ENABLE_, mirroring the SGMII_CTL pattern for a known register state on every probe [Simon Horman, Paolo Abeni]
Patches in v5 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [RESEND PATCH net-next v5 0/2] net: lan743x: add RMII support for PCI11x1x
From: Thangaraj Samynathan <[email protected]>
This series adds RMII interface support for the Microchip PCI11x1x Ethernet controller.
The PCI11x1x device supports RMII as an alternative MAC-PHY interface, selected via the STRAP_READ software strap register. Patch 1 reads the RMII strap bits from this register and sets the is_rmii_en flag. Patch 2 uses this flag to configure the PHY interface mode, phylink supported interfaces, and enables RMII in hardware via the RMII_CTL register.
Change Log:
===========
v4 -> v5:
- Always write RMII_CTL with explicit set/clear of RMII_ENABLE_, mirroring the SGMII_CTL pattern for a known register state on every probe [Simon Horman, Paolo Abeni]
v3 -> v4:
- Fix dev_dbg() in lan743x_mdiobus_init() to print "RMII operation" instead of "RGMII operation" when RMII is selected [Simon Horman]
v2 -> v3:
- Update debug log to report selected interface (SGMII/RMII/RGMII) instead of only SGMII enable/disable state [patch 1/2]
- Update commit message to document that EEE is disabled by setting lpi_capabilities = 0 [patch 2/2]
v1 -> v2:
- Remove redundant mac_capabilities &= ~MAC_1000FD; phylink already handles capability reduction for RMII via phy_caps_from_interface() [patch 2/2]
Thangaraj Samynathan (2):
net: lan743x: add RMII strap status detection for PCI11x1x
net: lan743x: add support for RMII interface
drivers/net/ethernet/microchip/lan743x_main.c | 35 ++++++++++++++++--- drivers/net/ethernet/microchip/lan743x_main.h | 6 ++++ 2 files changed, 37 insertions(+), 4 deletions(-)
Signature · 1 line
2.34.1