mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
To: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
	barebox@lists.infradead.org,
	Michael Grzeschik <mgr@pengutronix.de>
Subject: [PATCH 0/6] Marvell MVEBU mbus and Orion GBE driver
Date: Wed,  5 Feb 2014 23:40:03 +0100	[thread overview]
Message-ID: <1391640009-3399-1-git-send-email-sebastian.hesselbarth@gmail.com> (raw)

This patch set provides a common driver for the mbus found on all
Marvell MVEBU SoCs and a ethernet driver for the IP found on Marvell
Orion SoCs. Regards go to Michael Grzeschik who forced me to work on
this by importing the borked mv643xx driver from u-boot.

Compared to the former patches sent by Michael, this driver now
separates mbus handling, mdio bus driver, and ethernet driver. The
mbus handling can be reused on all MVEBU SoCs and is based on what
we already have on Linux for it. The mdio bus driver can be reused
by Armada 370/XP Neta Ethernet core.

I have tested the driver on SolidRun CuBox (Dove) and also on
Globalscale Guruplug (Kirkwood). Kirkwood still need some loving care
before (88E1121 PHY init, pbl images, ...) so I decided to leave it
out of the patch set for now.

Patch 1 first reorders drivers/net/{Kconfig,Makefile} alphabetically.

Patch 2 then introduces a of_phy_device_connect to allow to connect
to a PHY without knowing the corresponding mdio bus.

Patches 3, 4, 5 add drivers for the mbus, mdio bus, and Orion GBE
respectively.

Patch 6 finally re-syncs Dove's DT files with v3.14 Linux DT files.

All patches are based on release v2014.02.0 and can also be found on
https://github.com/shesselba/barebox-dove.git topic/orion-gbe-v1

Sebastian Hesselbarth (6):
  net: reorder Kconfig and Makefile alphabetically
  net: phy: add of_phy_device_connect
  bus: mvebu: add mbus driver
  net: phy: add mvebu mdio bus driver
  net: orion: add ethernet driver
  ARM: dove: sync with DT files from Linux

 arch/arm/Kconfig             |   1 +
 arch/arm/dts/dove-cubox.dts  |  66 ++--
 arch/arm/dts/dove.dtsi       | 806 ++++++++++++++++++++++++++++++-------------
 drivers/bus/Kconfig          |  15 +-
 drivers/bus/Makefile         |   5 +-
 drivers/bus/mvebu-mbus.c     | 732 +++++++++++++++++++++++++++++++++++++++
 drivers/net/Kconfig          | 145 ++++----
 drivers/net/Makefile         |  28 +-
 drivers/net/orion-gbe.c      | 541 +++++++++++++++++++++++++++++
 drivers/net/orion-gbe.h      | 236 +++++++++++++
 drivers/net/phy/Kconfig      |   8 +
 drivers/net/phy/Makefile     |   2 +
 drivers/net/phy/mdio-mvebu.c | 152 ++++++++
 drivers/net/phy/phy.c        |  31 ++
 include/linux/mbus.h         |  61 ++++
 include/linux/phy.h          |  14 +
 16 files changed, 2480 insertions(+), 363 deletions(-)
 create mode 100644 drivers/bus/mvebu-mbus.c
 create mode 100644 drivers/net/orion-gbe.c
 create mode 100644 drivers/net/orion-gbe.h
 create mode 100644 drivers/net/phy/mdio-mvebu.c
 create mode 100644 include/linux/mbus.h

---
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Michael Grzeschik <mgr@pengutronix.de>
Cc: barebox@lists.infradead.org
-- 
1.8.5.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2014-02-05 22:41 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-05 22:40 Sebastian Hesselbarth [this message]
2014-02-05 22:40 ` [PATCH 1/6] net: reorder Kconfig and Makefile alphabetically Sebastian Hesselbarth
2014-02-05 22:40 ` [PATCH 2/6] net: phy: add of_phy_device_connect Sebastian Hesselbarth
2014-02-05 22:40 ` [PATCH 3/6] bus: mvebu: add mbus driver Sebastian Hesselbarth
2014-02-07  6:58   ` Sascha Hauer
2014-02-07  9:19     ` Sebastian Hesselbarth
2014-02-07 13:06     ` Sebastian Hesselbarth
2014-02-07 17:41   ` [PATCH v2 3/7] " Sebastian Hesselbarth
2014-02-05 22:40 ` [PATCH 4/6] net: phy: add mvebu mdio bus driver Sebastian Hesselbarth
2014-02-05 22:40 ` [PATCH 5/6] net: orion: add ethernet driver Sebastian Hesselbarth
2014-02-05 22:40 ` [PATCH 6/6] ARM: dove: sync with DT files from Linux Sebastian Hesselbarth
2014-02-07  9:33   ` Sebastian Hesselbarth
2014-02-07 11:03     ` Sascha Hauer
2014-02-07 17:42   ` [PATCH v2 6/7] ARM: dove: separate barebox-specific DT changes Sebastian Hesselbarth
2014-02-07 17:42     ` [PATCH v2 6/7] ARM: dove: sync with DT files from Linux Sebastian Hesselbarth
2014-02-07 17:45       ` Sebastian Hesselbarth
2014-02-10  8:11         ` Sascha Hauer
2014-02-07  7:21 ` [PATCH 0/6] Marvell MVEBU mbus and Orion GBE driver Sascha Hauer
2014-02-07  9:22   ` Sebastian Hesselbarth
2014-02-07  9:51     ` Sascha Hauer

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=1391640009-3399-1-git-send-email-sebastian.hesselbarth@gmail.com \
    --to=sebastian.hesselbarth@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=mgr@pengutronix.de \
    --cc=thomas.petazzoni@free-electrons.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