[PULL u-boot] Please pull u-boot-amlogic-20210406

Hi Tom,
Let's start this new version with finally all changes to remove static ethernet MAC & PHY setup for Amlogic SoCs, with DM_MDIO to support MDIO mux driver and a proper designware Glue driver. And finally it removes a whole bunch of ugly static code, yay !
The CI job is at https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/7021
Thanks, Neil The following changes since commit 90eba245a66aa20589404ba537215faf2012c1a3:
Merge branch 'next' (2021-04-05 11:29:57 -0400)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20210406
for you to fetch changes up to 2fbd37001c77f0b78d43c578d8e350a6afa27e24:
arm: meson: remove static ethernet link setup (2021-04-06 11:10:29 +0200)
---------------------------------------------------------------- - Add MMIO MDIO mux driver - Add Amlogic G12A MDIO mux driver - Add DM_MDIO support for designware ethernet driver - Add Amlogic Meson8b and later designware ethernet glue driver - Switch all amlogic boards to Amlogic designware ethernet glue driver - Switch all amlogic boards to DM_MDIO when necessary - Remove all static ethernet setup code
---------------------------------------------------------------- Neil Armstrong (11): net: add MMIO Register MDIO MUX driver net: designware: add DM_MDIO support net: add Amlogic Meson G12A MDIO MUX driver net: designware: add Amlogic Meson8b & later glue driver 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/Kconfig | 22 ++++ drivers/net/Makefile | 3 + drivers/net/designware.c | 96 +++++++++++++++++- drivers/net/dwmac_meson8b.c | 150 ++++++++++++++++++++++++++++ drivers/net/mdio_mux_meson_g12a.c | 149 +++++++++++++++++++++++++++ drivers/net/mdio_mux_mmioreg.c | 129 ++++++++++++++++++++++++ 48 files changed, 624 insertions(+), 307 deletions(-) create mode 100644 drivers/net/dwmac_meson8b.c create mode 100644 drivers/net/mdio_mux_meson_g12a.c create mode 100644 drivers/net/mdio_mux_mmioreg.c

On Tue, Apr 06, 2021 at 02:19:39PM +0200, Neil Armstrong wrote:
Hi Tom,
Let's start this new version with finally all changes to remove static ethernet MAC & PHY setup for Amlogic SoCs, with DM_MDIO to support MDIO mux driver and a proper designware Glue driver. And finally it removes a whole bunch of ugly static code, yay !
The CI job is at https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/7021
Thanks, Neil The following changes since commit 90eba245a66aa20589404ba537215faf2012c1a3:
Merge branch 'next' (2021-04-05 11:29:57 -0400)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20210406
for you to fetch changes up to 2fbd37001c77f0b78d43c578d8e350a6afa27e24:
arm: meson: remove static ethernet link setup (2021-04-06 11:10:29 +0200)
Applied to u-boot/master, thanks!
participants (2)
-
Neil Armstrong
-
Tom Rini