Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1433978
| From | Florian Fainelli <f.fainelli@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC 0/7] net: ethernet: bgmac: Add platform device support |
| Date | 2016-06-29 21:00 +0200 |
| Message-ID | <rPsSl-7My-3@gated-at.bofh.it> (permalink) |
| References | <rP71w-2K4-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 06/28/2016 12:34 PM, Jon Mason wrote: > I'm sending out this RFC to see if this is the direction the maintainers > would like to go to add support for other, non-bcma iProc SoC's to the > bgmac driver. Specifically, we are interested in adding support for the > NSP, 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). > > It is worth noting that the phy logic present in the driver needs to be > moved to drivers/phy. However, I was not able to fully decouple that > code from the bgmac driver. I was able to move it into a separate C > file, with only 2 function calls needed to create and destroy the mii > bus. Someone with more knowledge of this and HW to test it needs to do > it properly. This would natually dovetail into creating an interface > which the NSP bgmac can use for the external MDIO Phy to properly > connect (instead of using the fixed phy). This looks very good to me, and I just tested this with a BCM58625 w/ b53-srab on top of that, and everything works nicely: Tested-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[RFC 0/7] net: ethernet: bgmac: Add platform device support Jon Mason <jon.mason@broadcom.com> - 2016-06-28 21:40 +0200
[RFC 1/7] net: ethernet: bgmac: change bgmac_* prints to dev_* prints Jon Mason <jon.mason@broadcom.com> - 2016-06-28 21:40 +0200
Re: [RFC 1/7] net: ethernet: bgmac: change bgmac_* prints to dev_* prints Joe Perches <joe@perches.com> - 2016-06-28 21:50 +0200
Re: [RFC 1/7] net: ethernet: bgmac: change bgmac_* prints to dev_* prints Jon Mason <jon.mason@broadcom.com> - 2016-06-29 22:20 +0200
Re: [RFC 0/7] net: ethernet: bgmac: Add platform device support Florian Fainelli <f.fainelli@gmail.com> - 2016-06-29 21:00 +0200
csiph-web