]> 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)
commitc81dde5cad3ad18194c3e61c05e4198767b7fc54
tree4515dc0b5c46d4ea6cde6951a1723007e0013ac2
parent468dae257e7002a3fe5c54fc4ed8f41d0135696e
parentcc31ec6d5e70de1f9cf14002e476ddaf32f6e0a7
Merge branch 'net-mvpp2-MAC-GoP-configuration'

Antoine Tenart says:

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

This is based on net-next (0906ba2eb1c8).

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>