public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/11] dm: net: Conversion patches for sunxi driver model Ethernet
@ 2015-04-05 22:07 Simon Glass
  2015-04-05 22:07 ` [U-Boot] [PATCH v2 01/11] sunxi: Replace the pcDuino3 config with FDT version Simon Glass
                   ` (10 more replies)
  0 siblings, 11 replies; 23+ messages in thread
From: Simon Glass @ 2015-04-05 22:07 UTC (permalink / raw)
  To: u-boot

This series enables driver model Ethernet for the pcDuino3, converting the
designware Ethernet MAC in the process. It also moves all sunxi board to
use Kconfig for their basic Ethernet settings.

This series is based on u-boot-dm/next and requires Joe's patch here:

http://patchwork.ozlabs.org/patch/458111/

It is available at u-boot-dm in branch net-working.

Changes in v2:
- Add Ethernet for Orangepi, galileo
- Add Ethernet for Orangepi_mini, Wits_Pro_A20_DKT, Mele_I7
- Drop bugfix patches that were incorporated in the Ethernet dm conversion
- Drop the CONFIG_BOOTP_VCI_STRING patch
- Rebase on dm/next
- Remove unwanted printf()
- Use the new recv() method and the free_pkt() method

Simon Glass (11):
  sunxi: Replace the pcDuino3 config with FDT version
  Kconfig: Move CONFIG_DESIGNWARE_ETH to Kconfig
  dts: sunxi: Bring in Ethernet device tree bindings
  dm: core: Support allocating driver-private data for DMA
  dm: net: Use existing Ethernet init for driver model
  Avoid calling print_eths() with driver model
  dm: net: Adjust PHY interface to work with CONFIG_DM_ETH
  dm: net: Tidy up designware driver ready for driver model
  dm: net: Adjust designware driver to support driver model
  dm: sunxi: Support driver model for Ethernet
  dm: sunxi: Use driver model for Ethernet on Linksprite pcDuino3

 arch/arm/cpu/arm926ejs/spear/cpu.c                 |   2 +-
 arch/arm/cpu/armv7/socfpga/misc.c                  |   2 +-
 board/bf609-ezkit/bf609-ezkit.c                    |   2 +-
 board/spear/spear300/spear300.c                    |   2 +-
 board/spear/spear310/spear310.c                    |   2 +-
 board/spear/spear320/spear320.c                    |   2 +-
 board/spear/spear600/spear600.c                    |   2 +-
 board/st/stv0991/stv0991.c                         |   2 +-
 board/sunxi/gmac.c                                 |  10 +-
 common/cmd_bdinfo.c                                |   2 +-
 common/miiphyutil.c                                |   1 +
 configs/A20-OLinuXino-Lime2_defconfig              |   3 +
 configs/A20-OLinuXino-Lime_defconfig               |   3 +
 configs/A20-OLinuXino_MICRO_defconfig              |   3 +
 configs/Bananapi_defconfig                         |   3 +
 configs/Bananapro_defconfig                        |   3 +
 configs/CSQ_CS908_defconfig                        |   3 +
 configs/Colombus_defconfig                         |   3 +
 configs/Cubieboard2_defconfig                      |   3 +
 configs/Cubietruck_defconfig                       |   3 +
 configs/Hummingbird_A31_defconfig                  |   3 +
 configs/Linksprite_pcDuino3_Nano_defconfig         |   3 +
 configs/Linksprite_pcDuino3_defconfig              |  11 +
 configs/Linksprite_pcDuino3_fdt_defconfig          |  15 --
 configs/Mele_I7_defconfig                          |   3 +
 configs/Mele_M3_defconfig                          |   3 +
 configs/Mele_M5_defconfig                          |   3 +
 configs/Mele_M9_defconfig                          |   3 +
 configs/Orangepi_defconfig                         |   3 +
 configs/Orangepi_mini_defconfig                    |   3 +
 configs/Wits_Pro_A20_DKT_defconfig                 |   3 +
 configs/axs101_defconfig                           |   5 +-
 configs/axs103_defconfig                           |   3 +
 configs/bf609-ezkit_defconfig                      |   3 +
 configs/galileo_defconfig                          |   3 +
 configs/i12-tvbox_defconfig                        |   3 +
 configs/socfpga_cyclone5_defconfig                 |   3 +
 configs/socfpga_socrates_defconfig                 |   3 +
 configs/spear300_defconfig                         |   3 +
 configs/spear300_nand_defconfig                    |   3 +
 configs/spear300_usbtty_defconfig                  |   3 +
 configs/spear300_usbtty_nand_defconfig             |   3 +
 configs/spear310_defconfig                         |   3 +
 configs/spear310_nand_defconfig                    |   3 +
 configs/spear310_pnor_defconfig                    |   3 +
 configs/spear310_usbtty_defconfig                  |   3 +
 configs/spear310_usbtty_nand_defconfig             |   3 +
 configs/spear310_usbtty_pnor_defconfig             |   3 +
 configs/spear320_defconfig                         |   3 +
 configs/spear320_nand_defconfig                    |   3 +
 configs/spear320_pnor_defconfig                    |   3 +
 configs/spear320_usbtty_defconfig                  |   3 +
 configs/spear320_usbtty_nand_defconfig             |   3 +
 configs/spear320_usbtty_pnor_defconfig             |   3 +
 configs/spear600_defconfig                         |   3 +
 configs/spear600_nand_defconfig                    |   3 +
 configs/spear600_usbtty_defconfig                  |   3 +
 configs/spear600_usbtty_nand_defconfig             |   3 +
 configs/stv0991_defconfig                          |   3 +
 configs/tb100_defconfig                            |   3 +
 configs/x600_defconfig                             |   3 +
 .../net/allwinner,sun4i-emac.txt                   |  19 ++
 .../net/allwinner,sun4i-mdio.txt                   |  27 +++
 .../net/allwinner,sun7i-a20-gmac.txt               |  27 +++
 doc/device-tree-bindings/net/ethernet.txt          |  25 +++
 doc/device-tree-bindings/net/stmmac.txt            |  63 ++++++
 drivers/core/device.c                              |  11 +-
 drivers/net/Kconfig                                |   7 +
 drivers/net/Makefile                               |   2 +-
 drivers/net/designware.c                           | 250 +++++++++++++++++----
 drivers/net/designware.h                           |   3 +-
 drivers/net/phy/phy.c                              |  22 ++
 include/configs/axs101.h                           |   1 -
 include/configs/bf609-ezkit.h                      |   1 -
 include/configs/socfpga_common.h                   |   1 -
 include/configs/spear-common.h                     |   1 -
 include/configs/stv0991.h                          |   1 -
 include/configs/sunxi-common.h                     |   1 -
 include/configs/tb100.h                            |   1 -
 include/configs/x600.h                             |   1 -
 include/dm/device.h                                |   3 +
 include/net.h                                      |   2 +
 include/phy.h                                      |  23 +-
 net/eth.c                                          |  78 ++++---
 84 files changed, 647 insertions(+), 124 deletions(-)
 delete mode 100644 configs/Linksprite_pcDuino3_fdt_defconfig
 create mode 100644 doc/device-tree-bindings/net/allwinner,sun4i-emac.txt
 create mode 100644 doc/device-tree-bindings/net/allwinner,sun4i-mdio.txt
 create mode 100644 doc/device-tree-bindings/net/allwinner,sun7i-a20-gmac.txt
 create mode 100644 doc/device-tree-bindings/net/ethernet.txt
 create mode 100644 doc/device-tree-bindings/net/stmmac.txt

-- 
2.2.0.rc0.207.ga3a616c

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2015-04-09  3:04 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-05 22:07 [U-Boot] [PATCH v2 0/11] dm: net: Conversion patches for sunxi driver model Ethernet Simon Glass
2015-04-05 22:07 ` [U-Boot] [PATCH v2 01/11] sunxi: Replace the pcDuino3 config with FDT version Simon Glass
2015-04-09  3:00   ` Simon Glass
2015-04-05 22:07 ` [U-Boot] [PATCH v2 02/11] Kconfig: Move CONFIG_DESIGNWARE_ETH to Kconfig Simon Glass
2015-04-09  3:04   ` Simon Glass
2015-04-05 22:07 ` [U-Boot] [PATCH v2 03/11] dts: sunxi: Bring in Ethernet device tree bindings Simon Glass
2015-04-09  3:04   ` Simon Glass
2015-04-05 22:07 ` [U-Boot] [PATCH v2 04/11] dm: core: Support allocating driver-private data for DMA Simon Glass
2015-04-05 22:07 ` [U-Boot] [PATCH v2 05/11] dm: net: Use existing Ethernet init for driver model Simon Glass
2015-04-09  3:04   ` Simon Glass
2015-04-05 22:07 ` [U-Boot] [PATCH v2 06/11] Avoid calling print_eths() with " Simon Glass
2015-04-09  3:04   ` Simon Glass
2015-04-05 22:07 ` [U-Boot] [PATCH v2 07/11] dm: net: Adjust PHY interface to work with CONFIG_DM_ETH Simon Glass
2015-04-09  3:04   ` Simon Glass
2015-04-05 22:07 ` [U-Boot] [PATCH v2 08/11] dm: net: Tidy up designware driver ready for driver model Simon Glass
2015-04-09  3:04   ` Simon Glass
2015-04-05 22:07 ` [U-Boot] [PATCH v2 09/11] dm: net: Adjust designware driver to support " Simon Glass
2015-04-06 21:09   ` Joe Hershberger
2015-04-09  3:04     ` Simon Glass
2015-04-05 22:07 ` [U-Boot] [PATCH v2 10/11] dm: sunxi: Support driver model for Ethernet Simon Glass
2015-04-09  3:04   ` Simon Glass
2015-04-05 22:07 ` [U-Boot] [PATCH v2 11/11] dm: sunxi: Use driver model for Ethernet on Linksprite pcDuino3 Simon Glass
2015-04-09  3:04   ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox