All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] net-next: ethernet: add sun8i-emac driver
@ 2016-07-20  8:03 ` LABBE Corentin
  0 siblings, 0 replies; 75+ messages in thread
From: LABBE Corentin @ 2016-07-20  8:03 UTC (permalink / raw)
  To: robh+dt, mark.rutland, maxime.ripard, wens, linux, davem
  Cc: netdev, devicetree, linux-arm-kernel, linux-kernel, linux-sunxi,
	LABBE Corentin

Hello

This patch series add the driver for sun8i-emac which handle the Ethernet MAC
present on Allwinner H3/A83T/A64 SoCs.

It supports 10/100/1000 Mbit/s speed with half/full duplex.
It can use an internal PHY (MII 10/100) or an external PHY
via RGMII/RMII.

This patch series enable the driver only for the H3 SoC since A83T and A64
doesn't have the necessary clocks present in mainline.

This patch series enable the driver only for the OrangePiPC board since other
board with H3 use external PHY which need optional regulators that will be
supported later.

The driver have been tested on the following boards:
- H3 Orange PI PC, Orange PI Plus, BananaPI-M2+
- A64 Pine64
- A83T BananaPI-M3

I would like to thanks Chen-Yu Tsai for his help on developing this driver.

Regards

Changes since v1
- Implement NAPI
- Sorted and reworded all define
- Reworked ethtools stats strings
- Removed all unneeded __packked and __aligned
- Added tuning of RX/TX ring size via ethtool
- Corrected use of sk/skb naming
- Added some wmb when needed
- Moved irq claim/free to emac_open/close
- Lots of code refactoring

LABBE Corentin (5):
  ethernet: add sun8i-emac driver
  MAINTAINERS: Add myself as maintainers of sun8i-emac
  ARM: sun8i: dt: Add DT bindings documentation for Allwinner sun8i-emac
  ARM: dts: sun8i-h3: add sun8i-emac ethernet driver
  ARM: dts: sun8i: Enable sun8i-emac on the Orange PI PC

 .../bindings/net/allwinner,sun8i-emac.txt          |   65 +
 MAINTAINERS                                        |    6 +
 arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts         |   11 +
 arch/arm/boot/dts/sun8i-h3.dtsi                    |   14 +
 drivers/net/ethernet/allwinner/Kconfig             |   13 +
 drivers/net/ethernet/allwinner/Makefile            |    1 +
 drivers/net/ethernet/allwinner/sun8i-emac.c        | 2127 ++++++++++++++++++++
 7 files changed, 2237 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/allwinner,sun8i-emac.txt
 create mode 100644 drivers/net/ethernet/allwinner/sun8i-emac.c

-- 
2.7.3

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

end of thread, other threads:[~2016-08-26 20:59 UTC | newest]

Thread overview: 75+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-20  8:03 [PATCH v2 0/5] net-next: ethernet: add sun8i-emac driver LABBE Corentin
2016-07-20  8:03 ` LABBE Corentin
2016-07-20  8:03 ` LABBE Corentin
2016-07-20  8:03 ` [PATCH v2 1/5] " LABBE Corentin
2016-07-20  8:03   ` LABBE Corentin
2016-07-20  8:03   ` LABBE Corentin
2016-07-20  9:56   ` Arnd Bergmann
2016-07-20  9:56     ` Arnd Bergmann
2016-07-20  9:56     ` Arnd Bergmann
2016-07-28 13:18     ` LABBE Corentin
2016-07-28 13:18       ` LABBE Corentin
2016-07-28 13:18       ` LABBE Corentin
2016-07-29  9:26       ` Arnd Bergmann
2016-07-29  9:26         ` Arnd Bergmann
2016-07-29  9:26         ` Arnd Bergmann
2016-07-25 19:54   ` Maxime Ripard
2016-07-25 19:54     ` Maxime Ripard
2016-07-25 19:54     ` Maxime Ripard
2016-07-28 14:57     ` LABBE Corentin
2016-07-28 14:57       ` LABBE Corentin
2016-07-28 14:57       ` LABBE Corentin
2016-07-29 17:25       ` Maxime Ripard
2016-07-29 17:25         ` Maxime Ripard
2016-07-29 17:25         ` Maxime Ripard
2016-07-30  1:30         ` Chen-Yu Tsai
2016-07-30  1:30           ` Chen-Yu Tsai
2016-07-30  1:30           ` Chen-Yu Tsai
2016-07-30  7:34           ` Maxime Ripard
2016-07-30  7:34             ` Maxime Ripard
2016-07-30  7:34             ` Maxime Ripard
2016-07-29 10:12     ` Andre Przywara
2016-07-29 10:12       ` Andre Przywara
2016-07-29 10:12       ` Andre Przywara
2016-08-24 12:02     ` LABBE Corentin
2016-08-24 12:02       ` LABBE Corentin
2016-08-24 12:02       ` LABBE Corentin
2016-08-26 20:49       ` Maxime Ripard
2016-08-26 20:49         ` Maxime Ripard
2016-08-26 20:49         ` Maxime Ripard
2016-07-20  8:03 ` [PATCH v2 2/5] MAINTAINERS: Add myself as maintainers of sun8i-emac LABBE Corentin
2016-07-20  8:03   ` LABBE Corentin
2016-07-20  8:03   ` LABBE Corentin
2016-07-20  8:03 ` [PATCH v2 3/5] ARM: sun8i: dt: Add DT bindings documentation for Allwinner sun8i-emac LABBE Corentin
2016-07-20  8:03   ` LABBE Corentin
2016-07-20  8:03   ` LABBE Corentin
2016-07-20 19:15   ` Rob Herring
2016-07-20 19:15     ` Rob Herring
2016-07-20 19:15     ` Rob Herring
2016-07-28 13:21     ` LABBE Corentin
2016-07-28 13:21       ` LABBE Corentin
2016-07-28 13:21       ` LABBE Corentin
2016-07-21  7:55   ` Maxime Ripard
2016-07-21  7:55     ` Maxime Ripard
2016-07-21  7:55     ` Maxime Ripard
2016-07-28 13:40     ` LABBE Corentin
2016-07-28 13:40       ` LABBE Corentin
2016-07-28 13:40       ` LABBE Corentin
2016-07-28 18:49       ` Maxime Ripard
2016-07-28 18:49         ` Maxime Ripard
2016-07-28 18:49         ` Maxime Ripard
2016-07-29  8:15         ` LABBE Corentin
2016-07-29  8:15           ` LABBE Corentin
2016-07-29  8:15           ` LABBE Corentin
2016-07-29 18:12           ` Maxime Ripard
2016-07-29 18:12             ` Maxime Ripard
2016-07-29 18:12             ` Maxime Ripard
2016-07-20  8:03 ` [PATCH v2 4/5] ARM: dts: sun8i-h3: add sun8i-emac ethernet driver LABBE Corentin
2016-07-20  8:03   ` LABBE Corentin
2016-07-20  8:03   ` LABBE Corentin
2016-07-20  8:03 ` [PATCH v2 5/5] ARM: dts: sun8i: Enable sun8i-emac on the Orange PI PC LABBE Corentin
2016-07-20  8:03   ` LABBE Corentin
2016-07-20  8:03   ` LABBE Corentin
2016-07-25 13:16 ` [PATCH v2 0/5] net-next: ethernet: add sun8i-emac driver paulo
2016-07-25 13:16   ` paulo at inutilfutil.com
2016-07-25 13:16   ` paulo

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.