Skip to content

arm: socpfpga: gen5 clean up ETH RST & PHY mode

Simon Goldschmidt u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v23 patches 0 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- imply CONFIG_ETH_DESIGNWARE_SOCFGPA instead of changing all defconfigs

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: designware: socfpga: adapt to Gen5drivers/net/Kconfig drivers/net/dwmac_socfpga.c+35 -540 replies
2/3arm: socfpga: gen5 enable designware_socfpgadrivers/net/Kconfig+1 -00 replies
3/3arm: socfpga: gen5: remove hacked ETH RST handlingarch/arm/mach-socfpga/include/mach/reset_manager.h arch/arm/mach-socfpga/misc.c arch/arm/mach-socfpga/misc_gen5.c+1 -1100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/3] arm: socpfpga: gen5 clean up ETH RST & PHY mode

Socfpga Gen5 uses ad-hoc code to unreset the ETH MACs and set their PHY mode.

Change this to use the dwmac_socfpga net driver and remove the old ad-hoc code.

Changes in v3:
- imply CONFIG_ETH_DESIGNWARE_SOCFGPA instead of changing all defconfigs

Changes in v2:
- remove detection of sub-mach via compatible version and handle all FPGAs the same
- select SYSCON and REGMAP via Kconfig
- only add CONFIG_ETH_DESIGNWARE_SOCFPGA since now REGMAP and SYSCON are selected by this one

Simon Goldschmidt (3):
net: designware: socfpga: adapt to Gen5
arm: socfpga: gen5 enable designware_socfpga
arm: socfpga: gen5: remove hacked ETH RST handling

 .../mach-socfpga/include/mach/reset_manager.h |  2 -
 arch/arm/mach-socfpga/misc.c                  | 65 --------------
 arch/arm/mach-socfpga/misc_gen5.c             | 44 +---------
 drivers/net/Kconfig                           |  3 +
 drivers/net/dwmac_socfpga.c                   | 87 +++++++------------
 5 files changed, 37 insertions(+), 164 deletions(-)
Signature · 1 line
2.17.1