[U-Boot] [PATCH v4 0/3] Add MMD PHY helpers

Carlo Caione ccaione at baylibre.com
Thu Jan 24 08:55:57 UTC 2019


Introduce phy_(read|write)_mmd() generic 802.3 clause 45 register
accessors for Clause 22 PHYs, using the indirect method. Allow this
behaviour to be overriden by PHY drivers where necessary.

Carlo Caione (3):
  net: phy: Add support for accessing MMD PHY registers
  net: phy: ti: use generic helpers to access MMD registers
  cmd: mdio: Add new parameter to access MMD PHY registers

 cmd/mdio.c            |  52 ++++++++++++-----
 drivers/net/phy/phy.c |   4 ++
 drivers/net/phy/ti.c  | 130 ++++++++----------------------------------
 include/phy.h         |  52 +++++++++++++++++
 4 files changed, 118 insertions(+), 120 deletions(-)

-- 
2.19.1



More information about the U-Boot mailing list