[U-Boot] [PATCH v4 0/5] Extend mv88e61xx driver to support 88E6071

Anatolij Gustschin agust at denx.de
Sat Oct 26 23:14:36 UTC 2019


This series adds support for 88E6071 and compatible switches in the
mv88e61xx driver.

Changes in v4:

 patch 1
 - rework to drop Kconfig option for MV88E6020 family selection:
   detect switch ID in mv88e61xx_priv_reg_offs_pre_init() and
   initialize the required port and global register offsets
   depending on the detected ID
 - patch 4 v3 is not required any more, drop it
 - add switch ID detection for 6020, 6070, 6220 and 6250
 - reword comments and fix spelling (s/initialised/initialized/)

 No changes in patches 2, 3, 4, 5

Changes in v3:

 - Add Reviewed-/Tested-by tags

 patch 1
  - drop DEVADDR_PORT to avoid macros with local variable
  - describe variables added to priv struct
  - reword comments in mv88e61xx_priv_reg_offs_pre_init()
  - add comment in get_phy_id() to explain why calling
    mv88e61xx_priv_reg_offs_pre_init() is required

 patch 2
  - remove unused PORT_REG_STATUS_SPEED_WIDTH macro

 patch 4
  - describe model numbers in numerical order

Changes in v2:
 - fix port init for 6096/6097 devices in patch 1/6
 - update commit description in patch 4/6

Anatolij Gustschin (5):
  net: phy: mv88e61xx: rework to enable detection of 88E6071 devices
  net: phy: mv88e61xx: add CPU port parameter init for 88E6071
  net: phy: mv88E61xx: fix ENERGY_DET init for mv88E6071
  net: phy: mv88e61xx: register phy_driver struct for 88E6071
  net: phy: fix switch vendor name

 drivers/net/phy/Kconfig     |   2 +-
 drivers/net/phy/mv88e61xx.c | 220 +++++++++++++++++++++++++++++-------
 2 files changed, 179 insertions(+), 43 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list