Skip to content

RFC DT MDIO bus of fixed phys

Andrew Lunn netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2of: of_mdio: Factor out fixed-link parsingdrivers/of/of_mdio.c include/linux/of_mdio.h+31 -140 replies
2/2phy: fixed-phy: Allow DT description of an MDIO bus and PHYs.Documentation/devicetree/bindings/net/fixed-link.txt drivers/net/phy/fixed_phy.c+157 -43 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH net-next 0/2] DT MDIO bus of fixed phys

Currently, supporting a fixed-phy in a MAC driver is a bit messy. It needs to be explicit supported, since a fixed phy is somewhat different from a normal phy.

These two patches solve this by making fixed-phys appear as normal PHYs within device tree, allowing them to be referenced by a phandle. Any MAC driver that supports phy-handle can then automatically support a fixed-phy without any code change.

Andrew Lunn (2):
of: of_mdio: Factor out fixed-link parsing
phy: fixed-phy: Allow DT description of an MDIO bus and PHYs.

 .../devicetree/bindings/net/fixed-link.txt         |  39 +++++++
 drivers/net/phy/fixed_phy.c                        | 122 ++++++++++++++++++++-
 drivers/of/of_mdio.c                               |  34 +++---
 include/linux/of_mdio.h                            |  11 +-
 4 files changed, 188 insertions(+), 18 deletions(-)
Signature · 1 line
2.7.0