net: phy: mscc: add support for VSC8502
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 19 Mar 2020 21:16:49 +0000 (23:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2020 03:52:27 +0000 (20:52 -0700)
commitd3169863310d151b5fb42b08de009ea8f2788264
treef84f299a2804722f27cb60db56ec49b4f7cb9522
parent7b005a1742be4608480d9d151aec42170a06cbee
net: phy: mscc: add support for VSC8502

This is a dual copper PHY with support for MII/GMII/RGMII on MAC side,
as well as a bunch of other features such as SyncE and Ring Resiliency.

I haven't tested interrupts and WoL, but I am confident that they work
since support is already present in the driver and the register map is
no different for this PHY.

PHY statistics work, PHY tunables appear to work, suspend/resume works.

Signed-off-by: Wes Li <wes.li@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mscc/mscc.h
drivers/net/phy/mscc/mscc_main.c