Re: [PATCH net-next v5 07/14] net: phy: microchip_t1s: add c45 direct access in LAN865x internal PHY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux