Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1434903

[PATCH 0/7] net: ethernet: bgmac: Add platform device support

From Jon Mason <jon.mason@broadcom.com>
Newsgroups linux.kernel
Subject [PATCH 0/7] net: ethernet: bgmac: Add platform device support
Date 2016-07-01 01:10 +0200
Message-ID <rPT69-6Wn-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Well, no compilained too loudly at the RFC version of this patch series
(see https://lkml.org/lkml/2016/6/28/863).  So, I'm officially sending
this out for inclusion.  All comments from the RFC were addressed in
this version.

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 (7):
  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
  ARM: dts: NSP: Add bgmac entries

 .../devicetree/bindings/net/brcm,bgmac-nsp.txt     |  24 +
 arch/arm/boot/dts/bcm-nsp.dtsi                     |  18 +
 arch/arm/boot/dts/bcm958625k.dts                   |   8 +
 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     | 210 +++++++
 drivers/net/ethernet/broadcom/bgmac.c              | 658 +++++----------------
 drivers/net/ethernet/broadcom/bgmac.h              | 112 +++-
 10 files changed, 1120 insertions(+), 516 deletions(-)
 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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/7] net: ethernet: bgmac: Add platform device support Jon Mason <jon.mason@broadcom.com> - 2016-07-01 01:10 +0200
  [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac Jon Mason <jon.mason@broadcom.com> - 2016-07-01 01:10 +0200
    Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation  for bgmac Rob Herring <robh@kernel.org> - 2016-07-01 05:00 +0200
      Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation  for bgmac Jon Mason <jon.mason@broadcom.com> - 2016-07-01 16:30 +0200
    Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac Arnd Bergmann <arnd@arndb.de> - 2016-07-01 11:50 +0200
      Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation  for bgmac Jon Mason <jon.mason@broadcom.com> - 2016-07-01 17:20 +0200
        Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac Arnd Bergmann <arnd@arndb.de> - 2016-07-01 17:50 +0200
          Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation  for bgmac Ray Jui <ray.jui@broadcom.com> - 2016-07-04 18:40 +0200
            Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac Arnd Bergmann <arnd@arndb.de> - 2016-07-05 15:40 +0200
              Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation  for bgmac Jon Mason <jon.mason@broadcom.com> - 2016-07-06 01:20 +0200
                Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac Arnd Bergmann <arnd@arndb.de> - 2016-07-06 09:40 +0200
                Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation  for bgmac Jon Mason <jon.mason@broadcom.com> - 2016-07-08 00:50 +0200
  Re: [PATCH 5/7] net: ethernet: bgmac: Add platform device support Florian Fainelli <f.fainelli@gmail.com> - 2016-07-01 01:30 +0200
  Re: [PATCH 0/7] net: ethernet: bgmac: Add platform device support Arnd Bergmann <arnd@arndb.de> - 2016-07-01 12:10 +0200

csiph-web