mbox series

[net-next,0/3] dpaa2-mac: add PCS support through the Lynx module

Message ID 20200921162031.12921-1-ioana.ciornei@nxp.com
Headers show
Series dpaa2-mac: add PCS support through the Lynx module | expand

Message

Ioana Ciornei Sept. 21, 2020, 4:20 p.m. UTC
This patch set aims to add PCS support in the dpaa2-eth driver by
leveraging the Lynx PCS module.

The first two patches are some missing pieces: the first one adding
support for 10GBASER in Lynx PCS while the second one adds a new
function - of_mdio_find_device - which is helpful in retrieving the PCS
represented as a mdio_device.  The final patch adds the glue logic
between phylink and the Lynx PCS module: it retrieves the PCS
represented as an mdio_device and registers it to Lynx and phylink.
From that point on, any PCS callbacks are treated by Lynx, without
dpaa2-eth interaction.

Ioana Ciornei (2):
  net: pcs-lynx: add support for 10GBASER
  dpaa2-mac: add PCS support through the Lynx module

Russell King (1):
  of: add of_mdio_find_device() api

 drivers/net/ethernet/freescale/dpaa2/Kconfig  |  1 +
 .../net/ethernet/freescale/dpaa2/dpaa2-mac.c  | 88 ++++++++++++++++++-
 .../net/ethernet/freescale/dpaa2/dpaa2-mac.h  |  2 +
 drivers/net/pcs/pcs-lynx.c                    |  6 ++
 drivers/of/of_mdio.c                          | 38 ++++++--
 include/linux/of_mdio.h                       |  6 ++
 6 files changed, 131 insertions(+), 10 deletions(-)

Comments

David Miller Sept. 23, 2020, 12:10 a.m. UTC | #1
From: Ioana Ciornei <ioana.ciornei@nxp.com>
Date: Mon, 21 Sep 2020 19:20:28 +0300

> This patch set aims to add PCS support in the dpaa2-eth driver by
> leveraging the Lynx PCS module.
> 
> The first two patches are some missing pieces: the first one adding
> support for 10GBASER in Lynx PCS while the second one adds a new
> function - of_mdio_find_device - which is helpful in retrieving the PCS
> represented as a mdio_device.  The final patch adds the glue logic
> between phylink and the Lynx PCS module: it retrieves the PCS
> represented as an mdio_device and registers it to Lynx and phylink.
> From that point on, any PCS callbacks are treated by Lynx, without
> dpaa2-eth interaction.

Please make the PCS destroy symmetric with the create as
requested by Andrew.

Thanks.