netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 0/6] ARM: sunxi: Add support for A10 Ethernet controller
@ 2013-04-29 19:36 Maxime Ripard
       [not found] ` <1367264218-15235-1-git-send-email-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Maxime Ripard @ 2013-04-29 19:36 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: kevin, sunny, shuge, netdev, Alejandro Mery, Emilio Lopez,
	Stefan Roese, Florian Fainelly, Maxime Ripard

Hi,

The Allwinner A10 SoC has an ethernet controller that seem to be specific to
Allwinner. This IP has no public documentation, so exact
details are quite sparse, and this code come from refactored Allwinner
code.

Since we don't have any clock support yet for the Allwinner SoCs, we
rely on the bootloader to enable and gate the EMAC clock.

The rework to use NAPI is taking more time than expected, I'm still working
on it, but it could probably be sent as a follow-up patch.

Thanks,
Maxime

Changes from v2:
  - Split the MDIO controller to a separate driver and make use of standards
    device tree bindings
  - Fixed various minor things as suggested by Florian Fainelli

Changes from v1:
  - Use phylib for the phy-related functions
  - Use an optional regulator to power up the phy
  - Rename the driver from Davicom Wemac to Allwinner EMAC, since it's the name
    mentionned in the datasheet, and we have no strong evidence of a
    relationship with Davicom
  - Fix various small things around the driver: add defines for undocumented
    values, fix documentation name and compatible example, etc.


Maxime Ripard (4):
  net: Add MDIO bus driver for the Allwinner EMAC
  ARM: sun4i: Add muxing options for the ethernet controller
  ARM: sunxi: Add EMAC controller node to sun4i DTSI
  ARM: sunxi: Add EMAC Controller to Hackberry dt

Stefan Roese (2):
  net: Add EMAC ethernet driver found on Allwinner A10 SoC's
  ARM: cubieboard: Enable ethernet (EMAC) support in dts

 .../bindings/net/allwinner,sun4i-emac.txt          |  22 +
 .../bindings/net/allwinner,sun4i-mdio.txt          |  26 +
 arch/arm/boot/dts/sun4i-a10-cubieboard.dts         |  15 +
 arch/arm/boot/dts/sun4i-a10-hackberry.dts          |  41 +
 arch/arm/boot/dts/sun4i-a10.dtsi                   |  27 +
 drivers/net/ethernet/Kconfig                       |   1 +
 drivers/net/ethernet/Makefile                      |   1 +
 drivers/net/ethernet/allwinner/Kconfig             |  44 +
 drivers/net/ethernet/allwinner/Makefile            |   6 +
 drivers/net/ethernet/allwinner/sun4i-emac.c        | 960 +++++++++++++++++++++
 drivers/net/ethernet/allwinner/sun4i-emac.h        | 108 +++
 drivers/net/ethernet/allwinner/sun4i-mdio.c        | 191 ++++
 12 files changed, 1442 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/allwinner,sun4i-emac.txt
 create mode 100644 Documentation/devicetree/bindings/net/allwinner,sun4i-mdio.txt
 create mode 100644 drivers/net/ethernet/allwinner/Kconfig
 create mode 100644 drivers/net/ethernet/allwinner/Makefile
 create mode 100644 drivers/net/ethernet/allwinner/sun4i-emac.c
 create mode 100644 drivers/net/ethernet/allwinner/sun4i-emac.h
 create mode 100644 drivers/net/ethernet/allwinner/sun4i-mdio.c

-- 
1.8.1.2

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

end of thread, other threads:[~2013-04-29 19:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-29 19:36 [PATCHv3 0/6] ARM: sunxi: Add support for A10 Ethernet controller Maxime Ripard
     [not found] ` <1367264218-15235-1-git-send-email-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2013-04-29 19:36   ` [PATCH 1/6] net: Add EMAC ethernet driver found on Allwinner A10 SoC's Maxime Ripard
2013-04-29 19:36   ` [PATCH 2/6] net: Add MDIO bus driver for the Allwinner EMAC Maxime Ripard
2013-04-29 19:36 ` [PATCH 3/6] ARM: sun4i: Add muxing options for the ethernet controller Maxime Ripard
2013-04-29 19:36 ` [PATCH 4/6] ARM: sunxi: Add EMAC controller node to sun4i DTSI Maxime Ripard
2013-04-29 19:36 ` [PATCH 5/6] ARM: cubieboard: Enable ethernet (EMAC) support in dts Maxime Ripard
2013-04-29 19:36 ` [PATCH 6/6] ARM: sunxi: Add EMAC Controller to Hackberry dt Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).