]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-mvpp2-MAC-GoP-configuration'
authorDavid S. Miller <davem@davemloft.net>
Tue, 22 Aug 2017 21:32:20 +0000 (14:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Aug 2017 21:32:20 +0000 (14:32 -0700)
commit1e0af2653f533245e80268b929ae6febd5a25e1a
tree4515dc0b5c46d4ea6cde6951a1723007e0013ac2
parent47b2af5234e34c38fbe74b65563255d840320215
parent753f7cdfe29328c3356425a5d5409de24b410778
Merge branch 'net-mvpp2-MAC-GoP-configuration'

Antoine Tenart says:

====================
net: mvpp2: MAC/GoP configuration

This is based on net-next (897a6abf2d00).

I removed the GoP interrupt and PHY optional parts in this v2 to ease
the review process as the MAC/GoP initialization seemed to start less
discussions :)

This series now only aims at making the PPv2 driver less depending on
the firmware/bootloader initialization. Some patches cleanup some parts
as well, and add new interface descriptions in the dt.

The current implementation of the PPv2 driver relies on the
firmware/bootloader initialization to configure some parts, as the Group
of Ports (GoP) and the MACs (GMAC and/or XLG MAC --for 10G--).  The
drawback is the kernel must be configured to match exactly what the
bootloader configures which is not convenient and is an issue when using
boards having an Ethernet port and an SFP port wired to the same GoP
port, as no dynamic configuration can be done.

This series adds the GoP and GMAC/XLG MAC initializations so that the
PPV2 does not have to rely on a previous initialization. One part is
still missing from this series, and that would be the 'comphy' which
provides shared serdes PHYs and which must be configured as well for a
full kernel initialization to work. This comphy support will be part of
a following up series. (This series was also tested with this 'comphy'
support, as it's nearly ready).

@Dave: patches 9 and 10 should go through the mvebu tree. Thanks!
====================

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