mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/6] Add network support for Armada 370/XP
@ 2014-07-29 20:44 Ezequiel Garcia
  2014-07-29 20:44 ` [PATCH 1/6] net: phy: Add fallbacks for the obsoletes phy DT properties Ezequiel Garcia
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Ezequiel Garcia @ 2014-07-29 20:44 UTC (permalink / raw)
  To: barebox; +Cc: Thomas Petazzoni, Jason Cooper, Willy Tarreau

This patchset adds support for the network controller found on Marvell
Armada 370/XP SoC.

The first patch is needed to parse the PHY property used in the current
devicetree, which uses 'phy' instead of 'phy-handle'. While here, the patch
adds support for the two obsolete DT PHY properties: 'phy' and 'phy-device'.

The second patch is actually an improvement. It makes the clock a required
property of the mvmdio driver, which makes the probing of the device more
robust, and prevents the annoying freezing when the clock is not provided.

The third patch supports the QSGMII interface.

The fourth patch adds support for the Marvell 88E1545 PHY chip. There's not
much work to do, except configuring the QSGMII interface. This chip is present
in Marvell's Armada XP GP board.

The fifth patch adds the mvneta driver. Most of the configuration part is
based on Linux's mvneta driver, while some of code organization is based
on Barebox's orion-gbe driver.

The last patch adds network support in the defconfigs.

This has been tested on the Armada XP GP board only. I'll try to test
Openblocks AX3 and Mirabox in the following days. However, we might need
some special PHY support for each them, as the Openblocks AX3 has a
88E1543 PHY, and the Mirabox has a 88E1510 PHY.

Ezequiel Garcia (6):
  net: phy: Add fallbacks for the obsoletes phy DT properties
  net: phy: mdio-mvebu: Make the clock property required
  net: phy: Add minimal support for QSGMII PHY
  net: phy: Support Marvell 88EE1545 PHY
  net: Add driver for Armada 370/XP 10/100/1000 Mbps network controller
  configs: Add network options to Armada 370/XP boards

 arch/arm/configs/globalscale_mirabox_defconfig     |   4 +
 arch/arm/configs/marvell_armada_xp_gp_defconfig    |   4 +
 arch/arm/configs/plathome_openblocks_ax3_defconfig |   4 +
 drivers/net/Kconfig                                |   6 +
 drivers/net/Makefile                               |   1 +
 drivers/net/mvneta.c                               | 758 +++++++++++++++++++++
 drivers/net/phy/marvell.c                          |  59 ++
 drivers/net/phy/mdio-mvebu.c                       |   8 +-
 drivers/net/phy/phy.c                              |   4 +
 drivers/of/of_net.c                                |   1 +
 include/linux/phy.h                                |   1 +
 11 files changed, 846 insertions(+), 4 deletions(-)
 create mode 100644 drivers/net/mvneta.c

-- 
2.0.1


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

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

end of thread, other threads:[~2014-08-02 20:35 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-29 20:44 [PATCH 0/6] Add network support for Armada 370/XP Ezequiel Garcia
2014-07-29 20:44 ` [PATCH 1/6] net: phy: Add fallbacks for the obsoletes phy DT properties Ezequiel Garcia
2014-07-29 20:44 ` [PATCH 2/6] net: phy: mdio-mvebu: Make the clock property required Ezequiel Garcia
2014-07-29 20:44 ` [PATCH 3/6] net: phy: Add minimal support for QSGMII PHY Ezequiel Garcia
2014-07-29 20:44 ` [PATCH 4/6] net: phy: Support Marvell 88EE1545 PHY Ezequiel Garcia
2014-07-29 21:37   ` Ezequiel Garcia
2014-07-31 17:25     ` Sebastian Hesselbarth
2014-08-02 17:40       ` Ezequiel Garcia
2014-08-02 17:48         ` Sebastian Hesselbarth
2014-08-02 20:33           ` Ezequiel Garcia
2014-07-29 20:45 ` [PATCH 5/6] net: Add driver for Armada 370/XP 10/100/1000 Mbps network controller Ezequiel Garcia
2014-07-31  5:42   ` Sascha Hauer
2014-07-31 13:43     ` Ezequiel Garcia
2014-07-29 20:45 ` [PATCH 6/6] configs: Add network options to Armada 370/XP boards Ezequiel Garcia
2014-07-31  5:49 ` [PATCH 0/6] Add network support for Armada 370/XP Sascha Hauer
2014-08-02 17:41   ` Ezequiel Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox