[PATCH v2 0/6] net: dwc_eth_qos: add support of device tree configuration for reset delay
Patrick DELAUNAY
patrick.delaunay at foss.st.com
Fri Jul 9 12:35:45 CEST 2021
Hi Ramon,
On 4/26/21 5:46 PM, Patrick Delaunay wrote:
> It is the V2 version of [1] after Marek remarks: all commit are new.
>
> I change the DWC_ETH_QOS STM32 variant by using generic eth phy driver.
>
> This driver is updated to use the gpio reset and assert/deassert delay
> from DT with the generic binding defined in linux:
> Documentation/devicetree/bindings/net/ethernet-phy.yaml
> or in U-Boot: doc/device-tree-bindings/net/phy.txt
>
> [1] net: dwc_eth_qos: add support of device tree configuration for reset delay
> http://patchwork.ozlabs.org/project/uboot/list/?series=238253&state=*
>
>
> Changes in v2:
> - Update eth-phy driver (NEW)
> - use log macro in eth-phy driver (NEW)
> - update eth-phy driver to support STM32 binding with a mdio0 subnode (NEW)
> - remove unused element in the struct eqos_priv (NEW)
> - use generic ethernet phy for stm32 variant, this patch is a REWORK of
> previous serie: the device parsing is done in eth-phy driver and the gpio
> support is removed in stm32 variant: eqos_start/stop_resets_stm32 and
> eqos_probe_resources_stm32.
> - cleanup ops by adding a common null ops (NEW)
>
> Patrick Delaunay (6):
> net: eth-phy: add support of device tree configuration for gpio reset
> net: eth-phy: use dev_dbg and log_notice
> net: eth-phy: manage subnode mdio0
> net: dwc_eth_qos: remove the field phyaddr of the struct eqos_priv
> net: dwc_eth_qos: use generic ethernet phy for stm32 variant
> net: dwc: add a common empty ops eqos_null_ops
>
> drivers/net/Kconfig | 1 +
> drivers/net/dwc_eth_qos.c | 152 +++++------------------------------
> drivers/net/eth-phy-uclass.c | 78 +++++++++++++++---
> 3 files changed, 91 insertions(+), 140 deletions(-)
>
This serie is also accepted in patchwork, but not merged in
u-boot-net/network_master:
http://patchwork.ozlabs.org/project/uboot/list/?series=240808&state=*
Do you plan to integrate it in you next pull request for v2021.10 ?
Regards
Patrick
More information about the U-Boot
mailing list