Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Steen Hegelund and committed by
Jakub Kicinski
774626fa bb3222f7

+2
+2
drivers/net/phy/mscc/mscc_ptp.c
··· 1510 1510 int vsc8584_ptp_init(struct phy_device *phydev) 1511 1511 { 1512 1512 switch (phydev->phy_id & phydev->drv->phy_id_mask) { 1513 + case PHY_ID_VSC8572: 1514 + case PHY_ID_VSC8574: 1513 1515 case PHY_ID_VSC8575: 1514 1516 case PHY_ID_VSC8582: 1515 1517 case PHY_ID_VSC8584: