mbox series

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

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

Message

Carlo Caione Jan. 23, 2019, 1:13 p.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            |  33 +++++++++--
 drivers/net/phy/phy.c |   4 ++
 drivers/net/phy/ti.c  | 130 ++++++++----------------------------------
 include/phy.h         |  62 ++++++++++++++++++++
 4 files changed, 118 insertions(+), 111 deletions(-)