netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v5 0/4] net: mvpp2: 1000BaseX and 2500BaseX support
@ 2018-01-12  7:51 Antoine Tenart
  2018-01-12  7:51 ` [PATCH net-next v5 1/4] phy: add 2.5G SGMII mode to the phy_mode enum Antoine Tenart
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Antoine Tenart @ 2018-01-12  7:51 UTC (permalink / raw)
  To: davem, kishon
  Cc: thomas.petazzoni, andrew, ymarkman, netdev, Antoine Tenart, linux,
	linux-kernel, nadavh, miquel.raynal, gregory.clement, stefanc, mw,
	linux-arm-kernel

Hi all,

This series adds 1000BaseX and 2500BaseX support to the Marvell PPv2
driver. In order to use it, the 2.5 SGMII mode is added in the Marvell
common PHY driver (cp110-comphy).

This was tested on a mcbin.

All patches should probably go through net-next as patch 4/4 depends on
patch 1/4 to build and work.

Please note the two mvpp2 patches do not conflict with the ACPI series
v2 Marcin sent a few days ago, and the two series can be processed in
parallel. (Marcin is aware of me sending this series).

Thanks!
Antoine

Since v4:
  - Fixed a compilation warning which was a real error in the code.

Since v3:
  - Stopped setting the MII_SPEED bit in the GMAC AN register, as the
    GMII_SPEED bit takes over anyway.
  - Added Andrew's Reviewed-by on patch 4/4.

Since v2:
  - Added a comment before mvpp22_comphy_init() about the different PHY modes
    used and why they differ between the PPv2 driver and the COMPHY one.

Since v1:
  - s/PHY_MODE_SGMII_2_5G/PHY_MODE_2500SGMII/
  - Fixed a build error in 'net: mvpp2: 1000baseX support' (which was solved in
    the 2500baseX support one, but the bisection was broken).
  - Removed the dt patches, as the fourth network interface on the mcbin also
    needs PHYLINK support in the PPv2 driver to be correctly supported.

Antoine Tenart (4):
  phy: add 2.5G SGMII mode to the phy_mode enum
  phy: cp110-comphy: 2.5G SGMII mode
  net: mvpp2: 1000baseX support
  net: mvpp2: 2500baseX support

 drivers/net/ethernet/marvell/mvpp2.c         | 74 ++++++++++++++++++++++++----
 drivers/phy/marvell/phy-mvebu-cp110-comphy.c | 17 +++++--
 include/linux/phy/phy.h                      |  1 +
 3 files changed, 79 insertions(+), 13 deletions(-)

-- 
2.14.3

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

end of thread, other threads:[~2018-01-18 15:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-12  7:51 [PATCH net-next v5 0/4] net: mvpp2: 1000BaseX and 2500BaseX support Antoine Tenart
2018-01-12  7:51 ` [PATCH net-next v5 1/4] phy: add 2.5G SGMII mode to the phy_mode enum Antoine Tenart
2018-01-15 19:21   ` David Miller
2018-01-16  6:13     ` Kishon Vijay Abraham I
2018-01-12  7:51 ` [PATCH net-next v5 2/4] phy: cp110-comphy: 2.5G SGMII mode Antoine Tenart
2018-01-16  6:15   ` Kishon Vijay Abraham I
2018-01-12  7:51 ` [PATCH net-next v5 3/4] net: mvpp2: 1000baseX support Antoine Tenart
2018-01-12  7:51 ` [PATCH net-next v5 4/4] net: mvpp2: 2500baseX support Antoine Tenart
2018-01-16 15:12 ` [PATCH net-next v5 0/4] net: mvpp2: 1000BaseX and 2500BaseX support Russell King - ARM Linux
2018-01-18 15:06   ` Antoine Tenart

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