Merge branch 'mvpp2-optional-PHYs-and-GoP-link-irq'
authorDavid S. Miller <davem@davemloft.net>
Fri, 1 Sep 2017 17:08:44 +0000 (10:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Sep 2017 17:08:44 +0000 (10:08 -0700)
Antoine Tenart says:

====================
net: mvpp2: optional PHYs and GoP link irq

This series aims at making the driver work when no PHY is connected
between a port and the physical layer and not described as a fixed-phy.
This is useful for some usecases such as when a switch is connected
directly to the serdes lanes. It can also be used for SFP ports on the
7k-db and 8k-db while waiting for the phylink support to land in (which
should be part of another series).

This series makes the phy optional in the PPv2 driver, and then adds
the support for the GoP port link interrupt to handle link status
changes on such ports.

This was tested using the SFP ports on the 7k-db and 8k-db boards.

Since v1:
  - Now use phy_interface_mode_is_rgmii() in the GoP link patch.
  - Added one cosmetic patch to take advantage of phy_interface_mode_is_rgmii()
    in the whole PPv2 driver.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge