mbox series

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

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

Message

Carlo Caione Jan. 23, 2019, 4:05 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            |  51 ++++++++++++-----
 drivers/net/phy/phy.c |   4 ++
 drivers/net/phy/ti.c  | 130 ++++++++----------------------------------
 include/phy.h         |  52 +++++++++++++++++
 4 files changed, 117 insertions(+), 120 deletions(-)