RFC DT MDIO bus of fixed phys
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | of: of_mdio: Factor out fixed-link parsingdrivers/ include/ | +31 | 0 replies | |
| 2/2 | phy: fixed-phy: Allow DT description of an MDIO bus and PHYs.Documentation/ drivers/ | +157 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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