[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201112092250.914079-1-steen.hegelund@microchip.com>
Date: Thu, 12 Nov 2020 10:22:50 +0100
From: Steen Hegelund <steen.hegelund@...rochip.com>
To: Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Antoine Tenart <atenart@...nel.org>,
Bryan Whitehead <Bryan.Whitehead@...rochip.com>
CC: Steen Hegelund <steen.hegelund@...rochip.com>,
Microchip UNG Driver List <UNGLinuxDriver@...rochip.com>,
John Haechten <John.Haechten@...rochip.com>,
Netdev List <netdev@...r.kernel.org>,
Linux Kernel List <linux-kernel@...r.kernel.org>
Subject: [PATCH net-next] 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@...rochip.com>
---
drivers/net/phy/mscc/mscc_ptp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/phy/mscc/mscc_ptp.c b/drivers/net/phy/mscc/mscc_ptp.c
index b97ee79f3cdf..f0537299c441 100644
--- a/drivers/net/phy/mscc/mscc_ptp.c
+++ b/drivers/net/phy/mscc/mscc_ptp.c
@@ -1510,6 +1510,8 @@ void vsc8584_config_ts_intr(struct phy_device *phydev)
int vsc8584_ptp_init(struct phy_device *phydev)
{
switch (phydev->phy_id & phydev->drv->phy_id_mask) {
+ case PHY_ID_VSC8572:
+ case PHY_ID_VSC8574:
case PHY_ID_VSC8575:
case PHY_ID_VSC8582:
case PHY_ID_VSC8584:
--
2.29.2
Powered by blists - more mailing lists