Skip to content

mdio: Parse DT nodes for auto-probed PHYs

Daniel Mack netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 11 repliesSuperseded

Changes in v2 from the cover letter

* Switch to of_property_read_u32() in patch #1
* Check for mdio->dev_of_node in patch #2
* Added Florian's Reviewed-by: tags

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: of_mdio: factor out code to parse a phy's 'reg' propertydrivers/of/of_mdio.c+23 -120 replies
2/3net: of_mdio: add of_mdiobus_link_phydev()drivers/net/phy/mdio_bus.c drivers/of/of_mdio.c include/linux/of_mdio.h+47 -00 replies
3/3net: of_mdio: don't store the length of a property if we don't need todrivers/of/of_mdio.c+2 -20 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchFlorian Fainelli
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] mdio: Parse DT nodes for auto-probed PHYs

Hi Florian,

Here's v2.

v1 -> v2:
* Switch to of_property_read_u32() in patch #1
* Check for mdio->dev_of_node in patch #2
* Added Florian's Reviewed-by: tags

Thanks!
Daniel

Daniel Mack (3):
net: of_mdio: factor out code to parse a phy's 'reg' property
net: of_mdio: add of_mdiobus_link_phydev()
net: of_mdio: don't store the length of a property if we don't need to

 drivers/net/phy/mdio_bus.c |  6 ++++
 drivers/of/of_mdio.c       | 72 +++++++++++++++++++++++++++++++++++++---------
 include/linux/of_mdio.h    |  8 ++++++
 3 files changed, 72 insertions(+), 14 deletions(-)
Signature · 1 line
1.9.0