[U-Boot] [RFC 00/14] bmips: add bcm6348-enet support

Álvaro Fernández Rojas
2018-02-19T17:26:27Z

No comments about DMA?

2018-02-12 17:38 GMT+01:00 Álvaro Fernández Rojas <noltari@gmail.com>:

> In order to add bcm6348-enet support, dma-uclass must be extended to
> support
> dma channels and rewordked to operate like the other dm uclass (clk,
> reset...).
>
> This is an RFC, so please give you feedback on the things that I should
> fix or rework.
>
> Álvaro Fernández Rojas (14):
> dma: add dma channels support and improve uclass
> dma: add bcm6348-iudma support
> bmips: bcm6338: add bcm6348-iudma support
> bmips: bcm6348: add bcm6348-iudma support
> bmips: bcm6358: add bcm6348-iudma support
> phy: add support for internal phys
> net: add support for bcm6348-enet
> bmips: bcm6338: add support for bcm6348-enet
> bmips: enable f at st1704 enet support
> bmips: bcm6348: add support for bcm6348-enet
> bmips: enable ct-5361 enet support
> bmips: bcm6358: add support for bcm6348-enet
> bmips: enable hg556a enet support
> bmips: enable nb4-ser enet support
>
> arch/mips/dts/brcm,bcm6338.dtsi | 29 ++
> arch/mips/dts/brcm,bcm6348.dtsi | 42 +++
> arch/mips/dts/brcm,bcm6358.dtsi | 46 +++
> arch/mips/dts/comtrend,ct-5361.dts | 12 +
> arch/mips/dts/huawei,hg556a.dts | 12 +
> arch/mips/dts/sagem,f at st1704.dts | 12 +
> arch/mips/dts/sfr,nb4-ser.dts | 24 ++
> configs/comtrend_ct5361_ram_defconfig | 8 +-
> configs/huawei_hg556a_ram_defconfig | 8 +-
> configs/sagem_f at st1704_ram_defconfig | 9 +-
> configs/sfr_nb4-ser_ram_defconfig | 8 +-
> drivers/dma/Kconfig | 8 +
> drivers/dma/Makefile | 1 +
> drivers/dma/bcm6348-iudma.c | 498 ++++++++++++++++++++++++++++++
> ++
> drivers/dma/dma-uclass.c | 212 +++++++++++---
> drivers/mtd/spi/sf-uclass.c | 17 ++
> drivers/mtd/spi/spi_flash.c | 11 +-
> drivers/net/Kconfig | 9 +
> drivers/net/Makefile | 1 +
> drivers/net/bcm6348-eth.c | 517 ++++++++++++++++++++++++++++++
> ++++
> include/configs/bmips_common.h | 5 +-
> include/dma-uclass.h | 110 ++++++++
> include/dma.h | 226 +++++++++++----
> include/dt-bindings/dma/bcm6338-dma.h | 15 +
> include/dt-bindings/dma/bcm6348-dma.h | 17 ++
> include/dt-bindings/dma/bcm6358-dma.h | 17 ++
> include/phy.h | 2 +
> include/spi_flash.h | 3 +
> 28 files changed, 1780 insertions(+), 99 deletions(-)
> create mode 100644 drivers/dma/bcm6348-iudma.c
> create mode 100644 drivers/net/bcm6348-eth.c
> create mode 100644 include/dma-uclass.h
> create mode 100644 include/dt-bindings/dma/bcm6338-dma.h
> create mode 100644 include/dt-bindings/dma/bcm6348-dma.h
> create mode 100644 include/dt-bindings/dma/bcm6358-dma.h
>
> --
> 2.11.0
>
>