Skip to content

net: phy: split at803x

Christian Marangi linux-arm-msm lkml netdev 4 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 0 repliesApplied 5/5
  2. v35 patches 6 repliesSuperseded
  3. v25 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC5 patches1 replySuperseded

Changes in v4 from the cover letter

- Add Reviwed-by tag
- Correctly sort new define in makefile Changes v3:
- Fix compilation error on testing single change till patch 4. (improve bisectability of the series)

Patches in v4 All 5 applied

#Subject and filesSizeRepliesApplied
1/5net: phy: move at803x PHY driver to dedicated directorydrivers/net/phy/Kconfig drivers/net/phy/Makefile drivers/net/phy/qcom/Kconfig +2 more+11 -70 repliesApplied
2/5net: phy: qcom: create and move functions to shared librarydrivers/net/phy/qcom/Kconfig drivers/net/phy/qcom/Makefile drivers/net/phy/qcom/at803x.c +2 more+94 -670 repliesApplied
3/5net: phy: qcom: deatch qca83xx PHY driver from at803xdrivers/net/phy/qcom/Kconfig drivers/net/phy/qcom/Makefile drivers/net/phy/qcom/at803x.c +1 more+284 -2380 repliesApplied
4/5net: phy: qcom: move additional functions to shared librarydrivers/net/phy/qcom/at803x.c drivers/net/phy/qcom/qcom-phy-lib.c drivers/net/phy/qcom/qcom.h+463 -4250 repliesApplied
5/5net: phy: qcom: detach qca808x PHY driver from at803xdrivers/net/phy/qcom/Kconfig drivers/net/phy/qcom/Makefile drivers/net/phy/qcom/at803x.c +1 more+942 -8960 repliesApplied

Reviews trailers per patch

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

PatchAndrew Lunn
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

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

Read the v4 thread

Cover letter [net-next PATCH v4 0/5] net: phy: split at803x

This is the last patchset of a long series of cleanup and preparation to make at803x better maintainable and permit the addition of other QCOM PHY Families.

A shared library modules is created since many QCOM PHY share similar/exact implementation and are reused.

This series doesn't introduce any new code but just move the function around and introduce a new module for all the functions that are shared between the 3 different PHY family.

Since the drivers are actually detached, new probe function are introduced that allocate the specific priv struct for the PHYs.

After this patch, qca808x will be further generalized as LED and cable test function are also used by the QCA807x PHYs. This is just for reference and the additional function move will be done on the relates specific series.

This is also needed in preparation for the introduction of qca807x PHYs family and PHY package concept.

Changes v4:
- Add Reviwed-by tag
- Correctly sort new define in makefile Changes v3:
- Fix compilation error on testing single change till patch 4. (improve bisectability of the series)
Changes v2:
- Out of RFC (at808x dependency got merged)

Christian Marangi (5):
net: phy: move at803x PHY driver to dedicated directory
net: phy: qcom: create and move functions to shared library
net: phy: qcom: deatch qca83xx PHY driver from at803x
net: phy: qcom: move additional functions to shared library
net: phy: qcom: detach qca808x PHY driver from at803x

 drivers/net/phy/Kconfig             |    7 +-
 drivers/net/phy/Makefile            |    2 +-
 drivers/net/phy/at803x.c            | 2759 ---------------------------
 drivers/net/phy/qcom/Kconfig        |   22 +
 drivers/net/phy/qcom/Makefile       |    5 +
 drivers/net/phy/qcom/at803x.c       | 1140 +++++++++++
 drivers/net/phy/qcom/qca808x.c      |  934 +++++++++
 drivers/net/phy/qcom/qca83xx.c      |  275 +++
 drivers/net/phy/qcom/qcom-phy-lib.c |  429 +++++
 drivers/net/phy/qcom/qcom.h         |  120 ++
 10 files changed, 2927 insertions(+), 2766 deletions(-)
 delete mode 100644 drivers/net/phy/at803x.c
 create mode 100644 drivers/net/phy/qcom/Kconfig
 create mode 100644 drivers/net/phy/qcom/Makefile
 create mode 100644 drivers/net/phy/qcom/at803x.c
 create mode 100644 drivers/net/phy/qcom/qca808x.c
 create mode 100644 drivers/net/phy/qcom/qca83xx.c
 create mode 100644 drivers/net/phy/qcom/qcom-phy-lib.c
 create mode 100644 drivers/net/phy/qcom/qcom.h
Signature · 1 line
2.43.0