[PATCH v3 0/6] net: dwc_eth_qos: add support of device tree configuration for reset delay
Patrick Delaunay
patrick.delaunay at foss.st.com
Tue Jul 20 20:09:50 CEST 2021
It is the V3 version of [1], rebased and without compilation issue for
power PC baord withotu CONFIG_DM_GPIO.
I change the DWC_ETH_QOS STM32 variant by using generic the 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=240808&state=*
http://patchwork.ozlabs.org/project/uboot/list/?series=240807&state=*
Changes in v3:
- allow compilation without DM_GPIO
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 | 84 ++++++++++++++++---
3 files changed, 97 insertions(+), 140 deletions(-)
--
2.25.1
More information about the U-Boot
mailing list