mbox series

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

Message ID 20190124085600.18886-1-ccaione@baylibre.com
Headers show
Series Add MMD PHY helpers | expand

Message

Carlo Caione Jan. 24, 2019, 8:55 a.m. UTC
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(-)