All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: linux-arm-kernel@lists.infradead.org
Cc: kevin@allwinnertech.com, sunny@allwinnertech.com,
	shuge@allwinnertech.com, netdev@vger.kernel.org,
	Stefan Roese <sr@denx.de>, Alejandro Mery <amery@geeks.cl>
Subject: [PATCHv2 0/5] ARM: sunxi: Add support for A10 Ethernet controller
Date: Sat, 23 Mar 2013 23:30:09 +0100	[thread overview]
Message-ID: <1364077814-2233-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.

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.

Thanks,
Maxime

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 (3):
  ARM: sunxi: Add EMAC controller node to sun4i DTSI
  ARM: sun4i: Add muxing options for the ethernet controller
  ARM: hackberry: dt: Add Ethernet controller to the Hackberry device
    tree

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

 .../bindings/net/allwinner,sun4i-emac.txt          |   19 +
 arch/arm/boot/dts/sun4i-a10-cubieboard.dts         |    6 +
 arch/arm/boot/dts/sun4i-a10-hackberry.dts          |   32 +
 arch/arm/boot/dts/sun4i-a10.dtsi                   |   18 +
 drivers/net/ethernet/Kconfig                       |    1 +
 drivers/net/ethernet/Makefile                      |    1 +
 drivers/net/ethernet/allwinner/Kconfig             |   36 +
 drivers/net/ethernet/allwinner/Makefile            |    5 +
 drivers/net/ethernet/allwinner/sun4i-emac.c        | 1033 ++++++++++++++++++++
 drivers/net/ethernet/allwinner/sun4i-emac.h        |  114 +++
 10 files changed, 1265 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/allwinner,sun4i-emac.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

-- 
1.7.10.4

WARNING: multiple messages have this Message-ID (diff)
From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv2 0/5] ARM: sunxi: Add support for A10 Ethernet controller
Date: Sat, 23 Mar 2013 23:30:09 +0100	[thread overview]
Message-ID: <1364077814-2233-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.

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.

Thanks,
Maxime

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 (3):
  ARM: sunxi: Add EMAC controller node to sun4i DTSI
  ARM: sun4i: Add muxing options for the ethernet controller
  ARM: hackberry: dt: Add Ethernet controller to the Hackberry device
    tree

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

 .../bindings/net/allwinner,sun4i-emac.txt          |   19 +
 arch/arm/boot/dts/sun4i-a10-cubieboard.dts         |    6 +
 arch/arm/boot/dts/sun4i-a10-hackberry.dts          |   32 +
 arch/arm/boot/dts/sun4i-a10.dtsi                   |   18 +
 drivers/net/ethernet/Kconfig                       |    1 +
 drivers/net/ethernet/Makefile                      |    1 +
 drivers/net/ethernet/allwinner/Kconfig             |   36 +
 drivers/net/ethernet/allwinner/Makefile            |    5 +
 drivers/net/ethernet/allwinner/sun4i-emac.c        | 1033 ++++++++++++++++++++
 drivers/net/ethernet/allwinner/sun4i-emac.h        |  114 +++
 10 files changed, 1265 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/allwinner,sun4i-emac.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

-- 
1.7.10.4

             reply	other threads:[~2013-03-23 22:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-23 22:30 Maxime Ripard [this message]
2013-03-23 22:30 ` [PATCHv2 0/5] ARM: sunxi: Add support for A10 Ethernet controller Maxime Ripard
2013-03-23 22:30 ` [PATCH 1/5] net: Add EMAC ethernet driver found on Allwinner A10 SoC's Maxime Ripard
2013-03-23 22:30   ` Maxime Ripard
2013-03-24 19:03   ` Florian Fainelli
2013-03-24 19:03     ` Florian Fainelli
2013-04-04 15:37     ` Stefan Roese
2013-04-04 15:37       ` Stefan Roese
2013-03-23 22:30 ` [PATCH 2/5] ARM: sunxi: Add EMAC controller node to sun4i DTSI Maxime Ripard
2013-03-23 22:30   ` Maxime Ripard
2013-03-23 22:30 ` [PATCH 3/5] ARM: sun4i: Add muxing options for the ethernet controller Maxime Ripard
2013-03-23 22:30   ` Maxime Ripard
2013-03-23 22:30 ` [PATCH 4/5] ARM: cubieboard: Enable ethernet (WEMAC) support in dts Maxime Ripard
2013-03-23 22:30   ` Maxime Ripard
2013-03-23 22:30 ` [PATCH 5/5] ARM: hackberry: dt: Add Ethernet controller to the Hackberry device tree Maxime Ripard
2013-03-23 22:30   ` Maxime Ripard

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=1364077814-2233-1-git-send-email-maxime.ripard@free-electrons.com \
    --to=maxime.ripard@free-electrons.com \
    --cc=amery@geeks.cl \
    --cc=kevin@allwinnertech.com \
    --cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.