From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: davem@davemloft.net
Cc: linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, Stefan Roese <sr@denx.de>,
Florian Fainelli <florian@openwrt.org>,
Emilio Lopez <emilio@elopez.com.ar>,
kevin@allwinnertech.com, sunny@allwinnertech.com,
shuge@allwinnertech.com,
Maxime Ripard <maxime.ripard@free-electrons.com>
Subject: [PATCHv3 RESEND 0/6] ARM: sunxi: Add support for A10 Ethernet controller
Date: Fri, 24 May 2013 11:23:08 +0200 [thread overview]
Message-ID: <1369387394-9453-1-git-send-email-maxime.ripard@free-electrons.com> (raw)
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.
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
- Added clock support now that we have a clock driver
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
next reply other threads:[~2013-05-24 9:23 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-24 9:23 Maxime Ripard [this message]
2013-05-24 9:23 ` [PATCHv3 1/6] net: Add EMAC ethernet driver found on Allwinner A10 SoC's Maxime Ripard
2013-05-24 12:46 ` Emilio López
2013-05-24 20:10 ` Maxime Ripard
2013-05-24 9:23 ` [PATCHv3 2/6] net: Add MDIO bus driver for the Allwinner EMAC Maxime Ripard
2013-05-24 9:42 ` Florian Fainelli
2013-05-24 10:14 ` Maxime Ripard
2013-05-24 9:23 ` [PATCHv3 3/6] ARM: sun4i: Add muxing options for the ethernet controller Maxime Ripard
2013-05-24 9:23 ` [PATCHv3 4/6] ARM: sunxi: Add EMAC controller node to sun4i DTSI Maxime Ripard
2013-05-24 9:23 ` [PATCHv3 5/6] ARM: cubieboard: Enable ethernet (EMAC) support in dts Maxime Ripard
2013-05-24 12:53 ` Emilio López
2013-05-24 20:15 ` Maxime Ripard
2013-05-24 9:23 ` [PATCHv3 6/6] ARM: sunxi: Add EMAC Controller to Hackberry dt Maxime Ripard
2013-05-29 18:15 ` [PATCHv3 RESEND 0/6] ARM: sunxi: Add support for A10 Ethernet controller Richard Genoud
2013-05-30 8:11 ` Maxime Ripard
2013-05-30 17:50 ` Richard Genoud
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=1369387394-9453-1-git-send-email-maxime.ripard@free-electrons.com \
--to=maxime.ripard@free-electrons.com \
--cc=davem@davemloft.net \
--cc=emilio@elopez.com.ar \
--cc=florian@openwrt.org \
--cc=kevin@allwinnertech.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=shuge@allwinnertech.com \
--cc=sr@denx.de \
--cc=sunny@allwinnertech.com \
/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
all inboxes | Powered by JetHome®