[PATCH v3 0/6] net: phy: at803x: support qca8081 1G version chip

From: Luo Jie
Date: Sun Jul 16 2023 - 04:50:21 EST


This patch series add supporting qca8081 1G version chip, the 1G version
chip can be identified by the register mmd7.0x901d bit0.

In addition, qca8081 does not support 1000BaseX mode and the sgmii fifo
reset is added on the link changed, which assert the fifo on the link
down, deassert the fifo on the link up.

Changes in v1:
* switch to use genphy_c45_pma_read_abilities.
* remove the patch [remove 1000BaseX mode of qca8081].
* move the sgmii fifo reset to link_change_notify.

Changes in v2:
* split the qca8081 1G chip support patch.
* improve the slave seed config, disable it if master preferred.

Changes in v3:
* fix the comments.
* add the help function qca808x_has_fast_retrain_or_slave_seed.

Luo Jie (6):
net: phy: at803x: support qca8081 genphy_c45_pma_read_abilities
net: phy: at803x: merge qca8081 slave seed function
net: phy: at803x: enable qca8081 slave seed conditionally
net: phy: at803x: support qca8081 1G chip type
net: phy: at803x: remove qca8081 1G fast retrain and slave seed config
net: phy: at803x: add qca8081 fifo reset on the link changed

drivers/net/phy/at803x.c | 135 +++++++++++++++++++++++++++------------
1 file changed, 95 insertions(+), 40 deletions(-)


base-commit: 68af900072c157c0cdce0256968edd15067e1e5a
--
2.17.1