Re: [PATCH net-next 5/6] net: marvell: neta: add comphy support

2019-02-06 Thread Russell King - ARM Linux admin
On Wed, Feb 06, 2019 at 04:09:28PM +0100, Maxime Chevallier wrote: > Hello Russell, > > On Wed, 06 Feb 2019 11:35:07 + > Russell King wrote: > > > >+if (pp->comphy) { > >+enum phy_mode mode = PHY_MODE_INVALID; > >+ > >+switch (state->interface) { > >+

Re: [PATCH net-next 5/6] net: marvell: neta: add comphy support

2019-02-06 Thread Maxime Chevallier
Hello Russell, On Wed, 06 Feb 2019 11:35:07 + Russell King wrote: >+ if (pp->comphy) { >+ enum phy_mode mode = PHY_MODE_INVALID; >+ >+ switch (state->interface) { >+ case PHY_INTERFACE_MODE_SGMII: >+ case PHY_INTERFACE_MODE_1000BASEX:

[PATCH net-next 5/6] net: marvell: neta: add comphy support

2019-02-06 Thread Russell King
Add support for the common phy binding, so that we can reconfigure the comphy according to the desired ethernet speed. This will allow us to support 1000base-X and 2500base-X SFPs dynamically on SolidRun Clearfog. Signed-off-by: Russell King --- drivers/net/ethernet/marvell/mvneta.c | 57 ++