mbox series

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

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

Message

Carlo Caione Feb. 8, 2019, 5:25 p.m. UTC
Introduce phy_{read|write}_mmd() helpers and modify the mdio command to 
make good use of them. Fix the ti driver in the same patchset.

Carlo Caione (3):
  net: phy: Add generic helpers to access MMD PHY registers
  net: phy: ti: use generic helpers to access MMD registers
  cmd: mdio: Switch to generic helpers when accessing the registers

 cmd/mdio.c            |  27 +++++----
 drivers/net/phy/phy.c |   4 ++
 drivers/net/phy/ti.c  | 130 ++++++++----------------------------------
 include/phy.h         |  70 +++++++++++++++++++++++
 4 files changed, 115 insertions(+), 116 deletions(-)