Skip to content

net: of_phy_connect_fixed_link removal

Florian Fainelli linux-devicetree linuxppc-dev lkml netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 1 replyIn review
  2. v1 posting 2/29 patches 6 repliesSuperseded
  3. v1 posting 1/29 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9Documentation: devicetree: add old and deprecated 'fixed-link'Documentation/devicetree/bindings/net/fixed-link.txt+12 -00 replies
2/9Documentation: devicetree: net: refer to fixed-link.txtDocumentation/devicetree/bindings/net/broadcom-bcmgenet.txt Documentation/devicetree/bindings/net/broadcom-systemport.txt Documentation/devicetree/bindings/net/fsl-tsec-phy.txt+3 -60 replies
3/9net: bcmgenet: use the new fixed PHY helpersdrivers/net/ethernet/broadcom/genet/bcmmii.c+13 -80 replies
4/9net: systemport: use the new fixed PHY helpersdrivers/net/ethernet/broadcom/bcmsysport.c drivers/net/ethernet/broadcom/bcmsysport.h+16 -20 replies
5/9fs_enet: use the new fixed PHY helpersdrivers/net/ethernet/freescale/fs_enet/fs_enet-main.c+10 -70 replies
6/9gianfar: use the new fixed PHY helpersdrivers/net/ethernet/freescale/gianfar.c+11 -30 replies
7/9ucc_geth: use the new fixed PHY helpersdrivers/net/ethernet/freescale/ucc_geth.c+11 -30 replies
8/9of: mdio: remove of_phy_connect_fixed_linkdrivers/of/of_mdio.c include/linux/of_mdio.h+0 -480 replies
9/9powerpc/fsl: fsl_soc: remove 'fixed-link' parsing codearch/powerpc/sysdev/fsl_soc.c+0 -320 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchThomas Petazzoni
1/9
2/9R-b
3/9
4/9
5/9
6/9
7/9
8/9
9/9

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 net-next v2 0/9] net: of_phy_connect_fixed_link removal

Hi all,

This patch set removes of_phy_connect_fixed_link() from the tree now that we have a better solution for dealing with fixed PHY (emulated PHY) devices for drivers that require them.

First two patches update the 'fixed-link' Device Tree binding and drivers to refere to it.

Patches 3 to 7 update the in-tree network drivers that use of_phy_connect_fixed_link()

Patch 8 removes of_phy_connect_fixed_link

Patch 9 removes the PowerPC code that parsed the 'fixed-link' property.

Patch 9 can be merged via the net-next tree if the PowerPC folks ack it, but it really has to be merged after the first 8 patches in order to avoid breakage.

Florian Fainelli (9):
Documentation: devicetree: add old and deprecated 'fixed-link'
Documentation: devicetree: net: refer to fixed-link.txt
net: bcmgenet: use the new fixed PHY helpers
net: systemport: use the new fixed PHY helpers
fs_enet: use the new fixed PHY helpers
gianfar: use the new fixed PHY helpers
ucc_geth: use the new fixed PHY helpers
of: mdio: remove of_phy_connect_fixed_link powerpc/fsl: fsl_soc: remove 'fixed-link' parsing code

 .../devicetree/bindings/net/broadcom-bcmgenet.txt  |  2 +-
 .../bindings/net/broadcom-systemport.txt           |  2 +-
 .../devicetree/bindings/net/fixed-link.txt         | 12 +++++++
 .../devicetree/bindings/net/fsl-tsec-phy.txt       |  5 +--
 arch/powerpc/sysdev/fsl_soc.c                      | 32 ------------------
 drivers/net/ethernet/broadcom/bcmsysport.c         | 17 ++++++++--
 drivers/net/ethernet/broadcom/bcmsysport.h         |  1 +
 drivers/net/ethernet/broadcom/genet/bcmmii.c       | 21 +++++++-----
 .../net/ethernet/freescale/fs_enet/fs_enet-main.c  | 17 ++++++----
 drivers/net/ethernet/freescale/gianfar.c           | 14 ++++++--
 drivers/net/ethernet/freescale/ucc_geth.c          | 14 ++++++--
 drivers/of/of_mdio.c                               | 38 ----------------------
 include/linux/of_mdio.h                            | 10 ------
 13 files changed, 76 insertions(+), 109 deletions(-)
Signature · 1 line
1.9.1