Re: [PATCH net-next 05/18] net: mvpp2: initialize the GMAC when using a port

2017-07-26 Thread Andrew Lunn
> + } else if (port->phy_interface == PHY_INTERFACE_MODE_RGMII) { Don't forget: PHY_INTERFACE_MODE_RGMII_ID, PHY_INTERFACE_MODE_RGMII_RXID, PHY_INTERFACE_MODE_RGMII_TXID, > + val = readl(port->base + MVPP22_GMAC_CTRL_4_REG); > + val |= MVPP22_CTRL4_EXT_PIN_GMI

[PATCH net-next 05/18] net: mvpp2: initialize the GMAC when using a port

2017-07-24 Thread Antoine Tenart
This adds a routine to initialize the GMAC at the port level when using a port. This wasn't done until this commit, and the mvpp2 driver was relying on the bootloader/firmware initialization. This doesn't mean everything is configured in the mvpp2 driver now, but it helps reducing the gap. Signed-