Re: [PATCH v2 net-next 5/9] net: stmmac: Add MDIO related functions for XGMAC2

2018-08-03 Thread Andrew Lunn
> > Probably you want to wait for the bus to be idle before you change the > > mode to C22. Some PHYs can do both C22 and C45, e.g. EEE registers can > > be in C45 space, while the rest are in C22. > > Ok but I can't test C45 right now so maybe leave that change to > when I can test it ? I would

Re: [PATCH v2 net-next 5/9] net: stmmac: Add MDIO related functions for XGMAC2

2018-08-03 Thread Jose Abreu
Hi Andrew, On 03-08-2018 16:20, Andrew Lunn wrote: > On Fri, Aug 03, 2018 at 03:56:07PM +0100, Jose Abreu wrote: >> Add the MDIO related funcionalities for the new IP block XGMAC2. >> >> Signed-off-by: Jose Abreu >> Cc: David S. Miller >> Cc: Joao Pinto >> Cc: Giuseppe Cavallaro >> Cc: Alexand

Re: [PATCH v2 net-next 5/9] net: stmmac: Add MDIO related functions for XGMAC2

2018-08-03 Thread Andrew Lunn
On Fri, Aug 03, 2018 at 03:56:07PM +0100, Jose Abreu wrote: > Add the MDIO related funcionalities for the new IP block XGMAC2. > > Signed-off-by: Jose Abreu > Cc: David S. Miller > Cc: Joao Pinto > Cc: Giuseppe Cavallaro > Cc: Alexandre Torgue > Cc: Andrew Lunn > --- > Changes from v1: >

[PATCH v2 net-next 5/9] net: stmmac: Add MDIO related functions for XGMAC2

2018-08-03 Thread Jose Abreu
Add the MDIO related funcionalities for the new IP block XGMAC2. Signed-off-by: Jose Abreu Cc: David S. Miller Cc: Joao Pinto Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Andrew Lunn --- Changes from v1: - Remove C45 support (Andrew) - Add define for bits (Andrew)