Skip to content

Commit 774626f

Browse files
steen-hegelund-mchpkuba-moo
authored andcommitted
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/VSC8574 Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com> Link: https://lore.kernel.org/r/20201112092250.914079-1-steen.hegelund@microchip.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent bb3222f commit 774626f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/net/phy/mscc/mscc_ptp.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,6 +1510,8 @@ void vsc8584_config_ts_intr(struct phy_device *phydev)
15101510
int vsc8584_ptp_init(struct phy_device *phydev)
15111511
{
15121512
switch (phydev->phy_id & phydev->drv->phy_id_mask) {
1513+
case PHY_ID_VSC8572:
1514+
case PHY_ID_VSC8574:
15131515
case PHY_ID_VSC8575:
15141516
case PHY_ID_VSC8582:
15151517
case PHY_ID_VSC8584:

0 commit comments

Comments
 (0)