From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/11] dm: net: Conversion patches for sunxi driver model Ethernet
Date: Sun, 5 Apr 2015 16:07:32 -0600 [thread overview]
Message-ID: <1428271663-3814-1-git-send-email-sjg@chromium.org> (raw)
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
next reply other threads:[~2015-04-05 22:07 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-05 22:07 Simon Glass [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1428271663-3814-1-git-send-email-sjg@chromium.org \
--to=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox