[PATCH net v3 0/2] phy: mscc: Fix PTP for VSC8574 and VSC8572

Horatiu Vultur posted 2 patches 2 days, 12 hours ago
drivers/net/phy/mscc/mscc.h      |  8 ++++----
drivers/net/phy/mscc/mscc_main.c | 29 +++++++----------------------
2 files changed, 11 insertions(+), 26 deletions(-)
[PATCH net v3 0/2] phy: mscc: Fix PTP for VSC8574 and VSC8572
Posted by Horatiu Vultur 2 days, 12 hours ago
The first patch will update the PHYs VSC8584, VSC8582, VSC8575 and VSC856X
to use PHY_ID_MATCH_MODEL because only rev B exists for these PHYs.
But for the PHYs VSC8574 and VSC8572 exists rev A, B, C, D and E.
This is just a preparation for the second patch to allow the VSC8574 and
VSC8572 to use the function vsc8584_probe().

We want to use vsc8584_probe() for VSC8574 and VSC8572 because this
function does the correct PTP initialization. This change is in the second
patch.

v2->v3:
- split into a series, first patch will update VSC8584, VSC8582, VSC8575
  and VSC856X to use PHY_ID_MATCH_MODEL, second patch will do the actual
  fix
- improve commit message and start use vsc8584_probe()
v1->v2:
- rename vsc8574_probe to vsc8552_probe and introduce a new probe
  function called vsc8574_probe and make sure that vsc8504 and vsc8552
  will use vsc8552_probe.

Horatiu Vultur (2):
  phy: mscc: Use PHY_ID_MATCH_MODEL for VSC8584, VSC8582, VSC8575,
    VSC856X
  phy: mscc: Fix PTP for VSC8574 and VSC8572

 drivers/net/phy/mscc/mscc.h      |  8 ++++----
 drivers/net/phy/mscc/mscc_main.c | 29 +++++++----------------------
 2 files changed, 11 insertions(+), 26 deletions(-)

-- 
2.34.1
Re: [PATCH net v3 0/2] phy: mscc: Fix PTP for VSC8574 and VSC8572
Posted by Jakub Kicinski 1 day, 19 hours ago
On Mon, 29 Sep 2025 11:13:00 +0200 Horatiu Vultur wrote:
> The first patch will update the PHYs VSC8584, VSC8582, VSC8575 and VSC856X
> to use PHY_ID_MATCH_MODEL because only rev B exists for these PHYs.
> But for the PHYs VSC8574 and VSC8572 exists rev A, B, C, D and E.
> This is just a preparation for the second patch to allow the VSC8574 and
> VSC8572 to use the function vsc8584_probe().
> 
> We want to use vsc8584_probe() for VSC8574 and VSC8572 because this
> function does the correct PTP initialization. This change is in the second
> patch.

This doesn't apply cleanly to net. If it was generated against net-next
- perhaps wait a couple of days until trees converge before reposting?
-- 
pw-bot: cr
Re: [PATCH net v3 0/2] phy: mscc: Fix PTP for VSC8574 and VSC8572
Posted by Horatiu Vultur 1 day, 14 hours ago
The 09/29/2025 18:47, Jakub Kicinski wrote:
> 
> On Mon, 29 Sep 2025 11:13:00 +0200 Horatiu Vultur wrote:
> > The first patch will update the PHYs VSC8584, VSC8582, VSC8575 and VSC856X
> > to use PHY_ID_MATCH_MODEL because only rev B exists for these PHYs.
> > But for the PHYs VSC8574 and VSC8572 exists rev A, B, C, D and E.
> > This is just a preparation for the second patch to allow the VSC8574 and
> > VSC8572 to use the function vsc8584_probe().
> >
> > We want to use vsc8584_probe() for VSC8574 and VSC8572 because this
> > function does the correct PTP initialization. This change is in the second
> > patch.
> 
> This doesn't apply cleanly to net. If it was generated against net-next
> - perhaps wait a couple of days until trees converge before reposting?

Yeah, I have generated this patch series on net-next instead of net.
Yes, I can wait before reposting.

> --
> pw-bot: cr

-- 
/Horatiu