Re: [PATCH net v4 1/2] phy: mscc: Use PHY_ID_MATCH_MODEL for VSC8584, VSC8582, VSC8575, VSC856X
From: Maxime Chevallier <maxime.chevallier@bootlin.com>
Date: 2025-10-17 07:42:49
Also in:
lkml
From: Maxime Chevallier <maxime.chevallier@bootlin.com>
Date: 2025-10-17 07:42:49
Also in:
lkml
Hi Horatiu, On 17/10/2025 08:48, Horatiu Vultur wrote:
As the PHYs VSC8584, VSC8582, VSC8575 and VSC856X exists only as rev B, we can use PHY_ID_MATCH_MODEL to match exactly on revision B of the PHY. Because of this change then there is not need the check if it is a different revision than rev B in the function vsc8584_probe() as we already know that this will never happen. These changes are a preparation for the next patch because in that patch we will make the PHYs VSC8574 and VSC8572 to use vsc8584_probe() and these PHYs have multiple revision. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>