Skip to content

net: dwc_eth_qos: Clean up STM32 glue code and add STM32MP13xx support

Marek Vasut u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 21 repliesIn review
  2. v111 patches 23 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11net: dwc_eth_qos: Split STM32 glue into separate filedrivers/net/Makefile drivers/net/dwc_eth_qos.c drivers/net/dwc_eth_qos.h +1 more+198 -1653 replies
2/11net: dwc_eth_qos: Rename eqos_stm32_config to eqos_stm32mp15_configdrivers/net/dwc_eth_qos.c drivers/net/dwc_eth_qos.h drivers/net/dwc_eth_qos_stm32.c+3 -32 replies
3/11net: dwc_eth_qos: Fold board_interface_eth_init into STM32 glue codeboard/dhelectronics/dh_stm32mp1/board.c board/st/stm32mp1/stm32mp1.c drivers/net/dwc_eth_qos_stm32.c+84 -1661 reply
4/11net: dwc_eth_qos: Scrub ifdefferydrivers/net/dwc_eth_qos_stm32.c+12 -132 replies
5/11net: dwc_eth_qos: Use FIELD_PREP for ETH_SEL bitfielddrivers/net/dwc_eth_qos_stm32.c+16 -171 reply
6/11net: dwc_eth_qos: Move log_debug statements on top of case blockdrivers/net/dwc_eth_qos_stm32.c+4 -41 reply
7/11net: dwc_eth_qos: Use consistent logging printsdrivers/net/dwc_eth_qos_stm32.c+28 -241 reply
8/11net: dwc_eth_qos: Constify st, eth-* values parsed out of DTdrivers/net/dwc_eth_qos_stm32.c+7 -111 reply
9/11net: dwc_eth_qos: Add DT parsing for STM32MP13xx platformdrivers/net/dwc_eth_qos_stm32.c+28 -132 replies
10/11net: dwc_eth_qos: Add support of STM32MP13xx platformdrivers/net/dwc_eth_qos.c drivers/net/dwc_eth_qos.h drivers/net/dwc_eth_qos_stm32.c+16 -02 replies
11/11net: dwc_eth_qos: Add support for st, ext-phyclk propertydrivers/net/dwc_eth_qos_stm32.c+27 -32 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchPatrice ChotardChristophe ROULLIER
1/11R-b R-b
2/11R-b R-b
3/11R-b
4/11R-b R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b R-b
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/11] net: dwc_eth_qos: Clean up STM32 glue code and add STM32MP13xx support

Split off STM32 glue code from the DWMAC driver into separate file, similar to what other SoCs already do, to avoid mixing the ST specifics with generic DWMAC core code.

Clean the STM32 DWMAC board code which is currently duplicated in multiple board files, move it into the newly separated glue code, since the code is not board specific, it is only generic DT parsing and generic register programming.

Add STM32MP13xx support based on ST downstream patches on top, although that part is mostly rewritten from scratch.

Christophe Roullier (2):
net: dwc_eth_qos: Add DT parsing for STM32MP13xx platform
net: dwc_eth_qos: Add support of STM32MP13xx platform

Marek Vasut (9):
net: dwc_eth_qos: Split STM32 glue into separate file
net: dwc_eth_qos: Rename eqos_stm32_config to eqos_stm32mp15_config
net: dwc_eth_qos: Fold board_interface_eth_init into STM32 glue code
net: dwc_eth_qos: Scrub ifdeffery
net: dwc_eth_qos: Use FIELD_PREP for ETH_SEL bitfield
net: dwc_eth_qos: Move log_debug statements on top of case block
net: dwc_eth_qos: Use consistent logging prints
net: dwc_eth_qos: Constify st,eth-* values parsed out of DT
net: dwc_eth_qos: Add support for st,ext-phyclk property

 board/dhelectronics/dh_stm32mp1/board.c |  82 ------
 board/st/stm32mp1/stm32mp1.c            |  82 ------
 drivers/net/Makefile                    |   1 +
 drivers/net/dwc_eth_qos.c               | 171 +------------
 drivers/net/dwc_eth_qos.h               |   2 +
 drivers/net/dwc_eth_qos_stm32.c         | 326 ++++++++++++++++++++++++
 6 files changed, 334 insertions(+), 330 deletions(-)
 create mode 100644 drivers/net/dwc_eth_qos_stm32.c
Cc Christophe Roullier <[email protected]>
Cc Joe Hershberger <[email protected]>
Cc Patrice Chotard <[email protected]>
Cc Patrick Delaunay <[email protected]>
Cc Ramon Fried <[email protected]>
Signature · 1 line
2.43.0