mbox series

[net,0/2] fixes for Q-USGMII speeds and autoneg

Message ID 20230608163415.511762-1-maxime.chevallier@bootlin.com (mailing list archive)
Headers show
Series fixes for Q-USGMII speeds and autoneg | expand

Message

Maxime Chevallier June 8, 2023, 4:34 p.m. UTC
As reported here [1], there are some inconsistencies for the Q-USGMII
mode speeds and configuration. The first patch in this fixup series
makes so that we correctly report the max speed of 1Gbps for this mode.

The second patch uses a dedicated helper to decode the control word.
This is necessary as although USGMII control words are close to USXGMII,
they don't support the same speeds.

Thanks,

Maxime

[1] : https://lore.kernel.org/netdev/ZHnd+6FUO77XFJvQ@shell.armlinux.org.uk/

Maxime Chevallier (2):
  net: phylink: report correct max speed for QUSGMII
  net: phylink: use a dedicated helper to parse usgmii control word

 drivers/net/phy/phylink.c | 41 +++++++++++++++++++++++++++++++++++++--
 include/uapi/linux/mdio.h |  3 +++
 2 files changed, 42 insertions(+), 2 deletions(-)