Commit 774626fa authored by Steen Hegelund's avatar Steen Hegelund Committed by Jakub Kicinski

net: phy: mscc: Add PTP support for 2 more VSC PHYs

Add VSC8572 and VSC8574 in the PTP configuration
as they also support PTP.

The relevant datasheets can be found here:
  - VSC8572: https://www.microchip.com/wwwproducts/en/VSC8572
  - VSC8574: https://www.microchip.com/wwwproducts/en/VSC8574Signed-off-by: default avatarSteen Hegelund <steen.hegelund@microchip.com>
Link: https://lore.kernel.org/r/20201112092250.914079-1-steen.hegelund@microchip.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent bb3222f7
...@@ -1510,6 +1510,8 @@ void vsc8584_config_ts_intr(struct phy_device *phydev) ...@@ -1510,6 +1510,8 @@ void vsc8584_config_ts_intr(struct phy_device *phydev)
int vsc8584_ptp_init(struct phy_device *phydev) int vsc8584_ptp_init(struct phy_device *phydev)
{ {
switch (phydev->phy_id & phydev->drv->phy_id_mask) { switch (phydev->phy_id & phydev->drv->phy_id_mask) {
case PHY_ID_VSC8572:
case PHY_ID_VSC8574:
case PHY_ID_VSC8575: case PHY_ID_VSC8575:
case PHY_ID_VSC8582: case PHY_ID_VSC8582:
case PHY_ID_VSC8584: case PHY_ID_VSC8584:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment