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. Changes in v2: - move put_device() after destroy - 3/3 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 | 89 ++++++++++++++++++- .../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, 132 insertions(+), 10 deletions(-) -- 2.25.1