Skip to content

arm: meson: static ethernet init cleanup

Neil Armstrong u-boot u-boot-amlogic 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7configs: update Amlogic Meson GXL & GXM config for MDIO MUXconfigs/khadas-vim2_defconfig configs/khadas-vim_defconfig configs/libretech-ac_defconfig +6 more+27 -100 replies
2/7configs: update Amlogic Meson G12A, G12B & SM1 configs for MDIO MUXconfigs/beelink-gtking_defconfig configs/beelink-gtkingpro_defconfig configs/khadas-vim3_defconfig +6 more+27 -60 replies
3/7arm: meson: remove static MDIO mux handlingarch/arm/mach-meson/board-g12a.c arch/arm/mach-meson/board-gx.c+2 -450 replies
4/7configs: meson: use Designware glue driver for Amlogic Meson8b & later SoCsconfigs/beelink-gtking_defconfig configs/beelink-gtkingpro_defconfig configs/khadas-vim2_defconfig +20 more+23 -230 replies
5/7net: designware: remove amlogic compatiblesdrivers/net/designware.c+0 -30 replies
6/7arm: meson: remove static ethernet memory power domain enablearch/arm/mach-meson/board-g12a.c arch/arm/mach-meson/board-gx.c+0 -60 replies
7/7arm: meson: remove static ethernet link setuparch/arm/include/asm/arch-meson/axg.h arch/arm/include/asm/arch-meson/eth.h arch/arm/include/asm/arch-meson/g12a.h +16 more+2 -2150 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC/RFT 0/7] arm: meson: static ethernet init cleanup

This serie finally removes the static ethernet link setup, MDIO mux & memory power domain after introduction of :
- "net: add MMIO Register MDIO MUX driver" at [1]
- "net: designware: add DM_MDIO support" at [2]
- "net: add Amlogic Meson G12A MDIO MUX driver" at [3]
- "net: designware: add Amlogic Meson8b & later glue driver" at [4]

These patches makes all this happen automagically thanks to DM_MDIO introduced last year.

This has been tested on libretech-ac and Khadas VIM3 to check to most opposite setups, but the GXBB boards hasn't been tested.

Note, you'll need [1], [2], [3], [4] applied before these patches

[1] https://patchwork.ozlabs.org/project/uboot/patch/20210224140223.2617536-1-narmstrong at baylibre.com/
[2] https://patchwork.ozlabs.org/project/uboot/patch/20210224140239.2617642-1-narmstrong at baylibre.com/
[3] https://patchwork.ozlabs.org/project/uboot/patch/20210224163153.2678768-1-narmstrong at baylibre.com/
[4] https://patchwork.ozlabs.org/project/uboot/patch/20210224193356.2948805-1-narmstrong at baylibre.com/

Neil Armstrong (7):
configs: update Amlogic Meson GXL & GXM config for MDIO MUX
configs: update Amlogic Meson G12A, G12B & SM1 configs for MDIO MUX
arm: meson: remove static MDIO mux handling
configs: meson: use Designware glue driver for Amlogic Meson8b & later
SoCs
net: designware: remove amlogic compatibles
arm: meson: remove static ethernet memory power domain enable
arm: meson: remove static ethernet link setup

 arch/arm/include/asm/arch-meson/axg.h       | 22 -------
 arch/arm/include/asm/arch-meson/eth.h       | 12 ----
 arch/arm/include/asm/arch-meson/g12a.h      | 35 -----------
 arch/arm/include/asm/arch-meson/gx.h        | 20 ------
 arch/arm/mach-meson/board-axg.c             | 34 -----------
 arch/arm/mach-meson/board-g12a.c            | 67 ---------------------
 arch/arm/mach-meson/board-gx.c              | 48 ---------------
 board/amlogic/beelink-s922x/beelink-s922x.c |  2 -
 board/amlogic/odroid-n2/odroid-n2.c         |  2 -
 board/amlogic/p200/p200.c                   |  2 -
 board/amlogic/p201/p201.c                   |  2 -
 board/amlogic/p212/p212.c                   |  3 -
 board/amlogic/q200/q200.c                   |  2 -
 board/amlogic/s400/s400.c                   |  2 -
 board/amlogic/sei510/sei510.c               |  3 -
 board/amlogic/sei610/sei610.c               |  3 -
 board/amlogic/u200/u200.c                   |  3 +-
 board/amlogic/vim3/vim3.c                   |  2 -
 board/amlogic/w400/w400.c                   |  2 +-
 configs/beelink-gtking_defconfig            |  5 +-
 configs/beelink-gtkingpro_defconfig         |  5 +-
 configs/khadas-vim2_defconfig               |  5 +-
 configs/khadas-vim3_defconfig               |  5 +-
 configs/khadas-vim3l_defconfig              |  5 +-
 configs/khadas-vim_defconfig                |  7 ++-
 configs/libretech-ac_defconfig              |  7 ++-
 configs/libretech-cc_defconfig              |  7 ++-
 configs/libretech-cc_v2_defconfig           |  7 ++-
 configs/libretech-s905d-pc_defconfig        |  5 +-
 configs/libretech-s912-pc_defconfig         |  5 +-
 configs/nanopi-k2_defconfig                 |  2 +-
 configs/odroid-c2_defconfig                 |  2 +-
 configs/odroid-c4_defconfig                 |  5 +-
 configs/odroid-n2_defconfig                 |  5 +-
 configs/p200_defconfig                      |  2 +-
 configs/p201_defconfig                      |  2 +-
 configs/p212_defconfig                      |  7 ++-
 configs/s400_defconfig                      |  2 +-
 configs/sei510_defconfig                    |  7 ++-
 configs/sei610_defconfig                    |  7 ++-
 configs/u200_defconfig                      |  7 ++-
 configs/wetek-core2_defconfig               |  5 +-
 drivers/net/designware.c                    |  3 -
 43 files changed, 79 insertions(+), 306 deletions(-)
Signature · 1 line
2.25.1