]> git.ipfire.org Git - people/arne_f/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)
commit9142b673a75743f6530d076125233b9add531f4c
tree4515dc0b5c46d4ea6cde6951a1723007e0013ac2
parent84e54fe0a5eaed696dee4019c396f8396f5a908b
parent7afe461ee64c03a857adfc146fcda1c98bb6a8ca
Merge branch 'net-mvpp2-MAC-GoP-configuration'

Antoine Tenart says:

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

This is based on net-next (e2a7c34fb285).

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>