mbox series

[RFC,0/3] DM_MDIO for fsl_tsec driver

Message ID 20200503185227.28731-1-olteanv@gmail.com
Headers show
Series DM_MDIO for fsl_tsec driver | expand

Message

Vladimir Oltean May 3, 2020, 6:52 p.m. UTC
From: Vladimir Oltean <vladimir.oltean at nxp.com>

This series converts the MDIO handling portion of the DM_ETH variant of
the tsec driver (currently in use only on LS1021A-TSN and LS1021A-TWR)
to use DM_MDIO. The other (non-DM_ETH) users of tsec are left alone.

Posted as RFC since it depends on Zhiqiang's series
"[PATCHv2,0/3] net: tsec: Fix issues of DM driver":
https://patchwork.ozlabs.org/project/uboot/cover/20200503144843.36949-1-Zhiqiang.Hou at nxp.com/

Vladimir Oltean (3):
  phy: make phy_connect_fixed work with a null mdio bus
  configs: enable DM_MDIO for LS1021A-TWR and LS1021A-TSN
  net: tsec: convert fsl_pq_mdio to DM_MDIO

 configs/ls1021atsn_qspi_defconfig             |  1 +
 configs/ls1021atsn_sdcard_defconfig           |  1 +
 configs/ls1021atwr_nor_SECURE_BOOT_defconfig  |  1 +
 configs/ls1021atwr_nor_defconfig              |  1 +
 configs/ls1021atwr_nor_lpuart_defconfig       |  1 +
 configs/ls1021atwr_qspi_defconfig             |  1 +
 ...s1021atwr_sdcard_ifc_SECURE_BOOT_defconfig |  1 +
 configs/ls1021atwr_sdcard_ifc_defconfig       |  1 +
 configs/ls1021atwr_sdcard_qspi_defconfig      |  1 +
 drivers/net/fsl_mdio.c                        | 66 +++++++++++++++++--
 drivers/net/phy/phy.c                         |  4 +-
 drivers/net/tsec.c                            | 50 +++++---------
 include/fsl_mdio.h                            |  4 +-
 13 files changed, 89 insertions(+), 44 deletions(-)