mbox series

[RFC,net-next,0/5] net: macb: Add versal2 10GBE device support

Message ID 20241009053946.3198805-1-vineeth.karumanchi@amd.com (mailing list archive)
Headers show
Series net: macb: Add versal2 10GBE device support | expand

Message

Vineeth Karumanchi Oct. 9, 2024, 5:39 a.m. UTC
10GBE IP is a HighSpeed mac that supports 1G, 2.5G, 5G, and 10G speeds
and has two PCS. It has USX PCS for higher speed and SGMII PCS for
lower speed transmission.

Auto-neg is disabled for this IP in versal2 device, hence "fixed-link"
at the specified speed is used. It is an expansion of the fixed-line speed
at 10G currently being implemented. These modifications are tested using
a HW board configuration without a PHY with QSFP.

The IP contains MDIO lines, and the goal is to use auto-neg in the PHY
and set the agreed-upon speed in the MAC. These adjustments will be made
in the following phase after the extra hardware is available.

Vineeth Karumanchi (5):
  dt-bindings: net: macb: Add support for versal2 10gbe device
  net: macb: Add versal2 10GBE device support
  net: macb: Update USX_CONTROL reg's bitfields and constants.
  net: macb: Configure High Speed Mac for given speed.
  net: macb: Get speed and link status runtime.

 .../devicetree/bindings/net/cdns,macb.yaml    |  1 +
 drivers/net/ethernet/cadence/macb.h           | 13 +++
 drivers/net/ethernet/cadence/macb_main.c      | 84 +++++++++++++++----
 3 files changed, 84 insertions(+), 14 deletions(-)