From: jon.mason@broadcom.com (Jon Mason)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/6] net: ethernet: bgmac: Add platform device support
Date: Thu, 7 Jul 2016 19:08:52 -0400 [thread overview]
Message-ID: <1467932938-21819-1-git-send-email-jon.mason@broadcom.com> (raw)
David Miller, Please consider including patches 1-5 in net-next
Florian Fainelli, Please consider including patches 6 & 7 in
devicetree/next
Changes in v2:
* Made device tree binding changes suggested by Sergei Shtylyov,
Ray Jui, Rob Herring, Florian Fainelli, and Arnd Bergmann
* Removed devm_* error paths in the bgmac_platform.c suggested by
Florian Fainelli
* Added Arnd Bergmann's Acked-by to the first 5 (there were changes
outlined in the bullets above, but I believe them to be minor enough
for him to not revoke his acks)
This patch series adds support for other, non-bcma iProc SoC's to the
bgmac driver. This series only adds NSP support, but we are interested
in adding support for the Cygnus and NS2 families (with more possible
down the road).
To support non-bcma enabled SoCs, we need to add the standard device
tree "platform device" support. Unfortunately, this driver is very
tighly coupled with the bcma bus and much unwinding is needed. I tried
to break this up into a number of patches to make it more obvious what
was being done to add platform device support. I was able to verify
that the bcma code still works using a 53012K board (NS SoC), and that
the platform code works using a 58625K board (NSP SoC).
Thanks,
Jon
Jon Mason (6):
net: ethernet: bgmac: change bgmac_* prints to dev_* prints
net: ethernet: bgmac: add dma_dev pointer
net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file
net: ethernet: bgmac: convert to feature flags
net: ethernet: bgmac: Add platform device support
dt-bindings: net: bgmac: add bindings documentation for bgmac
.../devicetree/bindings/net/brcm,amac.txt | 24 +
.../devicetree/bindings/net/brcm,bgmac-nsp.txt | 24 +
drivers/net/ethernet/broadcom/Kconfig | 23 +-
drivers/net/ethernet/broadcom/Makefile | 2 +
drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c | 266 +++++++++
drivers/net/ethernet/broadcom/bgmac-bcma.c | 315 ++++++++++
drivers/net/ethernet/broadcom/bgmac-platform.c | 189 ++++++
drivers/net/ethernet/broadcom/bgmac.c | 658 +++++----------------
drivers/net/ethernet/broadcom/bgmac.h | 112 +++-
9 files changed, 1097 insertions(+), 516 deletions(-)
create mode 100644 Documentation/devicetree/bindings/net/brcm,amac.txt
create mode 100644 Documentation/devicetree/bindings/net/brcm,bgmac-nsp.txt
create mode 100644 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c
create mode 100644 drivers/net/ethernet/broadcom/bgmac-bcma.c
create mode 100644 drivers/net/ethernet/broadcom/bgmac-platform.c
--
1.9.1
next reply other threads:[~2016-07-07 23:08 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-07 23:08 Jon Mason [this message]
2016-07-07 23:08 ` [PATCH v2 1/6] net: ethernet: bgmac: change bgmac_* prints to dev_* prints Jon Mason
2016-07-08 18:10 ` Florian Fainelli
2016-07-07 23:08 ` [PATCH v2 2/6] net: ethernet: bgmac: add dma_dev pointer Jon Mason
2016-07-08 18:11 ` Florian Fainelli
2016-07-07 23:08 ` [PATCH v2 3/6] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file Jon Mason
2016-07-08 18:11 ` Florian Fainelli
2016-07-07 23:08 ` [PATCH v2 4/6] net: ethernet: bgmac: convert to feature flags Jon Mason
2016-07-08 18:11 ` Florian Fainelli
2016-08-17 11:34 ` Rafał Miłecki
2016-09-20 5:19 ` Rafał Miłecki
2016-09-20 13:59 ` Jon Mason
2016-07-07 23:08 ` [PATCH v2 5/6] net: ethernet: bgmac: Add platform device support Jon Mason
2016-07-08 18:11 ` Florian Fainelli
2016-07-07 23:08 ` [PATCH v2 6/6] dt-bindings: net: bgmac: add bindings documentation for bgmac Jon Mason
2016-07-08 18:12 ` Florian Fainelli
2016-07-11 16:48 ` Florian Fainelli
2016-07-13 13:39 ` Rob Herring
2016-07-08 15:52 ` [PATCH v2 0/6] net: ethernet: bgmac: Add platform device support Jon Mason
2016-07-08 22:47 ` David Miller
2016-07-08 18:09 ` Florian Fainelli
2016-07-09 22:11 ` David Miller
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=1467932938-21819-1-git-send-email-jon.mason@broadcom.com \
--to=jon.mason@broadcom.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).