netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/8] net: phy: Broadcom BCM7xxx PHY workaround update
@ 2014-09-19 20:07 Florian Fainelli
  2014-09-19 20:07 ` [PATCH net-next v2 1/8] of: mdio: honor flags passed to of_phy_connect Florian Fainelli
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Florian Fainelli @ 2014-09-19 20:07 UTC (permalink / raw)
  To: netdev; +Cc: davem, Florian Fainelli

Hi David,

This patch sets the change to of_phy_connect() that you have seen before,
this time with the full context of why it is useful and applicable here.

Due to some design decision, the internal PHY on Broadcom BCM7xxx chips
is not entirely self contained and does not report its internal revision
through MII_PHYSID2, that is left to external PHY designs.

This forces us to get the PHY revision from the GENET and SF2 switch drivers
because those two peripherals integrate such a PHY and do contain the PHY
revision in their registers.

The approach taken here is hopefully easy to extend to similar needs for
other chips/ as well.

Thanks!

Florian Fainelli (8):
  of: mdio: honor flags passed to of_phy_connect
  net: phy: broadcom: add helper for PHY revision and patch level
  net: phy: bcm7xxx: do not use PHY_BRCM_100MBPS_WAR
  net: bcmgenet: remove PHY_BRCM_100MBPS_WAR
  net: bcmgenet: communicate integrated PHY revision to PHY driver
  net: dsa: allow switch drivers to specify phy_device::dev_flags
  net: dsa: bcm_sf2: communicate integrated PHY revision to PHY driver
  net: phy: bcm7xxx: utilize PHY revision in config_init

 drivers/net/dsa/bcm_sf2.c                      | 16 ++++++++++++++++
 drivers/net/dsa/bcm_sf2.h                      |  1 +
 drivers/net/dsa/bcm_sf2_regs.h                 |  1 +
 drivers/net/ethernet/broadcom/genet/bcmgenet.c |  7 +++++++
 drivers/net/ethernet/broadcom/genet/bcmgenet.h |  1 +
 drivers/net/ethernet/broadcom/genet/bcmmii.c   | 18 ++++++------------
 drivers/net/phy/bcm7xxx.c                      | 25 +++++++++++++++++--------
 drivers/of/of_mdio.c                           |  2 ++
 include/linux/brcmphy.h                        |  3 ++-
 include/net/dsa.h                              |  1 +
 net/dsa/slave.c                                |  9 ++++++++-
 11 files changed, 62 insertions(+), 22 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2014-09-19 20:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-19 20:07 [PATCH net-next v2 0/8] net: phy: Broadcom BCM7xxx PHY workaround update Florian Fainelli
2014-09-19 20:07 ` [PATCH net-next v2 1/8] of: mdio: honor flags passed to of_phy_connect Florian Fainelli
2014-09-19 20:07 ` [PATCH net-next v2 2/8] net: phy: broadcom: add helper for PHY revision and patch level Florian Fainelli
2014-09-19 20:07 ` [PATCH net-next v2 3/8] net: phy: bcm7xxx: do not use PHY_BRCM_100MBPS_WAR Florian Fainelli
2014-09-19 20:07 ` [PATCH net-next v2 4/8] net: bcmgenet: remove PHY_BRCM_100MBPS_WAR Florian Fainelli
2014-09-19 20:07 ` [PATCH net-next v2 5/8] net: bcmgenet: communicate integrated PHY revision to PHY driver Florian Fainelli
2014-09-19 20:07 ` [PATCH net-next v2 6/8] net: dsa: allow switch drivers to specify phy_device::dev_flags Florian Fainelli
2014-09-19 20:07 ` [PATCH net-next v2 7/8] net: dsa: bcm_sf2: communicate integrated PHY revision to PHY driver Florian Fainelli
2014-09-19 20:07 ` [PATCH net-next v2 8/8] net: phy: bcm7xxx: utilize PHY revision in config_init Florian Fainelli
2014-09-19 20:27 ` [PATCH net-next v2 0/8] net: phy: Broadcom BCM7xxx PHY workaround update David Miller

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).