netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] PHYLINK preparatory patches for DSA
@ 2017-11-30 19:57 Florian Fainelli
  2017-11-30 19:57 ` [PATCH net-next 1/5] net: phy: phylink: Allow specifying PHY device flags Florian Fainelli
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Florian Fainelli @ 2017-11-30 19:57 UTC (permalink / raw)
  To: netdev; +Cc: davem, andrew, rmk+kernel, vivien.didelot, Florian Fainelli

Hi all,

In preparation for having DSA migrate to PHYLINK, I had to come up with a
number of preparatory patches:

- we need to be able to pass phy_flags from an external component calling
  phylink_of_phy_connect()
- DSA tries to connect through OF first, then fallsback using its own internal
  MDIO bus, in that case we would both show an error, but also not know what
  the correct phy_interface_t would be, instead use the PHY device/driver provided
  one
- Finally bcm_sf2 makes use of all possible PHYs out there: internal, external,
  fixed, and MoCA, the latter requires a bit of help to signal link notifications
  through a MMIO interrupt, as well a report a correct PORT type

Florian Fainelli (5):
  net: phy: phylink: Allow specifying PHY device flags
  net: phy: phylink: Use PHY device interface if N/A
  net: phy: phylink: Demote error message to debug
  net: phy: phylink: Allow setting a custom link state callback
  net: phy: phylink: Report MoCA as PORT_BNC

 drivers/net/phy/phylink.c | 45 +++++++++++++++++++++++++++++++++++++++------
 include/linux/phylink.h   |  5 ++++-
 2 files changed, 43 insertions(+), 7 deletions(-)

-- 
2.14.3

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

end of thread, other threads:[~2017-11-30 23:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-30 19:57 [PATCH net-next 0/5] PHYLINK preparatory patches for DSA Florian Fainelli
2017-11-30 19:57 ` [PATCH net-next 1/5] net: phy: phylink: Allow specifying PHY device flags Florian Fainelli
2017-11-30 19:57 ` [PATCH net-next 2/5] net: phy: phylink: Use PHY device interface if N/A Florian Fainelli
2017-11-30 19:57 ` [PATCH net-next 3/5] net: phy: phylink: Demote error message to debug Florian Fainelli
2017-11-30 23:26   ` Russell King - ARM Linux
2017-11-30 23:36     ` Florian Fainelli
2017-11-30 19:57 ` [PATCH net-next 4/5] net: phy: phylink: Allow setting a custom link state callback Florian Fainelli
2017-11-30 19:57 ` [PATCH net-next 5/5] net: phy: phylink: Report MoCA as PORT_BNC Florian Fainelli

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