mbox series

[net-next,v3,00/18] net: phy: marvell10g updates

Message ID 20210406221107.1004-1-kabel@kernel.org (mailing list archive)
Headers show
Series net: phy: marvell10g updates | expand

Message

Marek BehĂșn April 6, 2021, 10:10 p.m. UTC
Here are some updates for marvell10g PHY driver.

I am still working on some more changes for this driver, but I would
like to have at least something reviewed / applied.

Changes since v2:
- code refactored to use an additional structure mv3310_chip describing
  mv3310 specific properties / operations for PHYs supported by this
  driver
- added separate phy_driver structures for 88X3340 and 88E2111
- removed 88E2180 specific code (dual-port and quad-port SXGMII modes
  are ignored for now)

Changes since v1:
- added various MACTYPEs support also for 88E21XX
- differentiate between specific models with same PHY_ID
- better check for compatible interface
- print exact model

Marek BehĂșn (18):
  net: phy: marvell10g: rename register
  net: phy: marvell10g: fix typo
  net: phy: marvell10g: allow 5gbase-r and usxgmii
  net: phy: marvell10g: indicate 88X33x0 only port control registers
  net: phy: marvell10g: add all MACTYPE definitions for 88X33x0
  net: phy: marvell10g: add MACTYPE definitions for 88E21xx
  net: phy: marvell10g: support all rate matching modes
  include: add library helpers for variadic macro expansion
  include: bitmap: add macro for bitmap initialization
  net: phy: marvell10g: check for correct supported interface mode
  net: phy: marvell10g: store temperature read method in chip strucutre
  net: phy: marvell10g: support other MACTYPEs
  net: phy: marvell10g: add separate structure for 88X3340
  net: phy: marvell10g: fix driver name for mv88e2110
  net: phy: add constants for 2.5G and 5G speed in PCS speed register
  net: phy: marvell10g: differentiate 88E2110 vs 88E2111
  net: phy: marvell10g: change module description
  MAINTAINERS: add myself as maintainer of marvell10g driver

 MAINTAINERS                    |   1 +
 drivers/net/phy/marvell10g.c   | 369 +++++++++++++++++++++++++++------
 include/linux/bitmap.h         |  24 +++
 include/linux/marvell_phy.h    |   6 +-
 include/linux/variadic-macro.h | 221 ++++++++++++++++++++
 include/uapi/linux/mdio.h      |   2 +
 6 files changed, 562 insertions(+), 61 deletions(-)
 create mode 100644 include/linux/variadic-macro.h