On Tue, Jul 30, 2024 at 09:38:59AM +0530, Parthiban Veerasooran wrote: > This patch adds c45 registers direct access support in Microchip's > LAN865x internal PHY. > > OPEN Alliance 10BASE-T1x compliance MAC-PHYs will have both C22 and C45 > registers space. If the PHY is discovered via C22 bus protocol it assumes > it uses C22 protocol and always uses C22 registers indirect access to > access C45 registers. This is because, we don't have a clean separation > between C22/C45 register space and C22/C45 MDIO bus protocols. Resulting, > PHY C45 registers direct access can't be used which can save multiple SPI > bus access. To support this feature, set .read_mmd/.write_mmd in the PHY > driver to call .read_c45/.write_c45 in the OPEN Alliance framework > drivers/net/ethernet/oa_tc6.c > > Signed-off-by: Parthiban Veerasooran <Parthiban.Veerasooran@xxxxxxxxxxxxx> Reviewed-by: Andrew Lunn <andrew@xxxxxxx> Andrew