mbox series

[v3,0/6] add qca8084 ethernet phy driver

Message ID 20231115140630.10858-1-quic_luoj@quicinc.com (mailing list archive)
Headers show
Series add qca8084 ethernet phy driver | expand

Message

Luo Jie Nov. 15, 2023, 2:06 p.m. UTC
QCA8084 is four-port PHY with maximum link capability 2.5G,
which supports the interface mode qusgmii and sgmii mode,
there are two PCSs available to connected with ethernet port.

QCA8084 can work in switch mode or PHY mode.
For switch mode, both PCS0 and PCS1 work on sgmii mode.
For PHY mode, PCS1 works on qusgmii mode, the last port
(the fourth port) works on sgmii mode.

Besides this PHY driver patches, the PCS driver is also needed
to bring up the qca8084 device, which mainly configurs PCS
and clocks.

Changes in v3:
	1. pick the two patches to introduce the interface mode
	10g-qxgmii from Vladimir Oltean(olteanv@gmail.com).

	2. add the function phydev_id_is_qca808x to identify the
	PHY qca8081 and qca8084.

	3. update the interface mode name PHY_INTERFACE_MODE_QUSGMII
	to PHY_INTERFACE_MODE_10G_QXGMII.

Luo Jie (4):
  net: phy: at803x: add QCA8084 ethernet phy support
  net: phy: at803x: add the function phydev_id_is_qca808x
  net: phy: at803x: Add qca8084_config_init function
  net: phy: qca8084: add qca8084_link_change_notify

Vladimir Oltean (2):
  net: phylink: move phylink_pcs_neg_mode() to phylink.c
  net: phy: introduce core support for phy-mode = "10g-qxgmii"

 .../bindings/net/ethernet-controller.yaml     |   1 +
 Documentation/networking/phy.rst              |   6 +
 drivers/net/phy/at803x.c                      | 130 +++++++++++++++++-
 drivers/net/phy/phy-core.c                    |   1 +
 drivers/net/phy/phylink.c                     |  77 ++++++++++-
 include/linux/phy.h                           |   4 +
 include/linux/phylink.h                       |  67 +--------
 7 files changed, 212 insertions(+), 74 deletions(-)


base-commit: bc962b35b139dd52319e6fc0f4bab00593bf38c9