Skip to content

ACPI MDIO support for Marvell controllers

Marcin Wojtas lkml netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 15 repliesIn review
  2. v27 patches 14 repliesSuperseded
  3. v13 patches 13 repliesSuperseded

Changes in v3 from the cover letter

* Rebase on top of net-next/master.
* Drop "net: mvmdio: simplify clock handling" patch.
* 1/6 - fix code block comments.
* 2/6 - unchanged
* 3/6 - add "depends on FWNODE_MDIO" for CONFIG_FSL_XGMAC_MDIO
* 4/6 - drop mention about the clocks from the commit message.
* 5/6 - unchanged
* 6/6 - add Andrew's RB.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Documentation: ACPI: DSD: describe additional MAC configurationDocumentation/firmware-guide/acpi/dsd/phy.rst+59 -04 replies
2/6net: mdiobus: Introduce fwnode_mdbiobus_register()drivers/net/mdio/fwnode_mdio.c include/linux/fwnode_mdio.h+34 -03 replies
3/6net/fsl: switch to fwnode_mdiobus_registerdrivers/net/ethernet/freescale/Kconfig drivers/net/ethernet/freescale/xgmac_mdio.c+3 -121 reply
4/6net: mvmdio: add ACPI supportdrivers/net/ethernet/marvell/mvmdio.c+12 -23 replies
5/6net: mvpp2: enable using phylink with ACPIdrivers/net/ethernet/marvell/mvpp2/mvpp2_main.c+17 -53 replies
6/6net: mvpp2: remove unused 'has_phy' fielddrivers/net/ethernet/marvell/mvpp2/mvpp2.h drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c+0 -40 replies

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

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

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

Read the v3 thread

Cover letter [net-next: PATCH v3 0/6] ACPI MDIO support for Marvell controllers

Hi,

The third version of the patchset main change is dropping a clock handling optimisation patch
for mvmdio driver. Other than that it sets explicit dependency on FWNODE_MDIO for CONFIG_FSL_XGMAC_MDIO and applies minor cosmetic improvements (please see the 'Changelog' below).

The firmware ACPI description is exposed in the public github branch:
https://github.com/semihalf-wojtas-marcin/edk2-platforms/commits/acpi-mdio-r20210613
There is also MacchiatoBin firmware binary available for testing:
https://drive.google.com/file/d/1eigP_aeM4wYQpEaLAlQzs3IN_w1-kQr0

I'm looking forward to the comments or remarks.

Best regards,
Marcin

Changelog:
v2->v3
* Rebase on top of net-next/master.
* Drop "net: mvmdio: simplify clock handling" patch.
* 1/6 - fix code block comments.
* 2/6 - unchanged
* 3/6 - add "depends on FWNODE_MDIO" for CONFIG_FSL_XGMAC_MDIO
* 4/6 - drop mention about the clocks from the commit message.
* 5/6 - unchanged
* 6/6 - add Andrew's RB.

v1->v2
* 1/7 - new patch
* 2/7 - new patch
* 3/7 - new patch
* 4/7 - new patch
* 5/7 - remove unnecessary if (has_acpi_companion()) and rebase onto the new clock handling
* 6/7 - remove deprecated comment
* 7/7 - no changes

Marcin Wojtas (6):
Documentation: ACPI: DSD: describe additional MAC configuration
net: mdiobus: Introduce fwnode_mdbiobus_register() net/fsl: switch to fwnode_mdiobus_register
net: mvmdio: add ACPI support
net: mvpp2: enable using phylink with ACPI
net: mvpp2: remove unused 'has_phy' field

 drivers/net/ethernet/marvell/mvpp2/mvpp2.h      |  3 -
 include/linux/fwnode_mdio.h                     | 12 ++++
 drivers/net/ethernet/freescale/xgmac_mdio.c     | 11 +---
 drivers/net/ethernet/marvell/mvmdio.c           | 14 ++++-
 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 23 ++++++--
 drivers/net/mdio/fwnode_mdio.c                  | 22 ++++++++
 Documentation/firmware-guide/acpi/dsd/phy.rst   | 59 ++++++++++++++++++++
 drivers/net/ethernet/freescale/Kconfig          |  4 +-
 8 files changed, 125 insertions(+), 23 deletions(-)
Signature · 1 line
2.29.0