From patchwork Sun May 3 18:52:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 244945 List-Id: U-Boot discussion From: olteanv at gmail.com (Vladimir Oltean) Date: Sun, 3 May 2020 21:52:24 +0300 Subject: [RFC PATCH 0/3] DM_MDIO for fsl_tsec driver Message-ID: <20200503185227.28731-1-olteanv@gmail.com> From: Vladimir Oltean 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(-)