mbox series

[net-next,RFC,0/5] net: phy: split at803x

Message ID 20240110115741.17300-1-ansuelsmth@gmail.com
Headers show
Series net: phy: split at803x | expand

Message

Christian Marangi Jan. 10, 2024, 11:57 a.m. UTC
(This depends on [1] that has been fully reviwed but still
has to be merged in net-next)

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.

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.

[1] https://lore.kernel.org/lkml/16cf006b-e9fe-4e09-b58d-49ce19c09879@lunn.ch/T/

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            | 2757 ---------------------------
 drivers/net/phy/qcom/Kconfig        |   22 +
 drivers/net/phy/qcom/Makefile       |    5 +
 drivers/net/phy/qcom/at803x.c       | 1142 +++++++++++
 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         |  118 ++
 10 files changed, 2927 insertions(+), 2764 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

Comments

Konrad Dybcio Jan. 10, 2024, 12:43 p.m. UTC | #1
On 1/10/24 12:57, Christian Marangi wrote:
> In preparation for addition of other Qcom PHY and to tidy things up,
> move the at803x PHY driver to dedicated directory.
> 
> The same order in the Kconfig selection is saved.
> 
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---

This thing could use a MAINTAINERS entry too!

Konrad