Re: [PATCH 1/3] net: phy: at803x: support qca8081 1G chip type

From: Jie Luo
Date: Fri Jun 30 2023 - 02:39:51 EST




On 6/29/2023 9:14 PM, Andrew Lunn wrote:
On Thu, Jun 29, 2023 at 11:48:44AM +0800, Luo Jie wrote:
The qca8081 1G chip version does not support 2.5 capability, which
is distinguished from qca8081 2.5G chip according to the bit0 of
register mmd7.0x901d.

The fast retrain and master slave seed configs are only needed when
the 2.5G capability is supported.

Does genphy_c45_pma_read_abilities() work on these devices?

Andrew

Hi Andrew,
yes, genphy_c45_pma_read_abilities works on both normal qca8081 2.5G chip and qca8081 1G version chip, even the PHY ID is same, the only difference between qca8081 1G and 2.5G chip is the 2.5G capability removed on 1G version chip.