This patch series consist of
 * PCS support for Airoha AN7581 SoC created by Christian Marangi
 * Fixes and improvements of the Christian Marangi patches.
 * Minor MDIO related fixes

PCS support patches were taken from 'package/boot/uboot-airoha/patches'
directory of the OpenWRT-25.12 clone repository

  https://github.com/Ansuel/openwrt/commits/main-airoha-6.12/

Original patches were created for U-Boot-2025.07, so the following changes
were implemented:
 * patches were adapted for upstream U-Boot
 * Airoha AN7583 SoC support was dropped (not supported by upstream U-Boot)
 * minimal support of Airoha EN7523 SoC was implemented

@Christian Please let me know if you have any objections against these
patches getting upstreamed.

Changes v2:
 * update cover letter
 * update patches for U-Boot-2026.01
 * use https://github.com/Ansuel/openwrt/commits/main-airoha-6.12/
   as an original patch source
 * drop some patches to be more close to original Christian Marangi code

Christian Marangi (6):
  net: mdio-mt7531-mmio: use common header priv struct
  net: airoha: add initial support for multiple GDM port
  net: airoha: add support for Airoha PCS driver
  airoha: add PCS node for AN7581
  configs: enable PCS for Airoha AN7581
  net: airoha: fill in support for PCS/PHY in Airoha Ethernet driver

Mikhail Kshevetskiy (10):
  net: airoha: avoid out of boundary writing/access to gdm_port_str[]
    array
  net: airoha: declare airoha_eth_port as U_BOOT_DRIVER()
  net: airoha: do not call airoha_fe_init() from GDM port independent
    code
  net: airoha: init switch before GDM port initialization
  net: airoha: pcs: improve/fix building rules
  net: pcs-airoha: unify code using SCU regmap helper
  net: airoha-pcs: an7581: sync with linux code a bit
  airoha: add GDM1 sub-node into EN7523 ethernet controller node
  net: airoha: makes PCS support optional
  net: airoha: use mt7531 mdio for GDM1

 arch/arm/dts/an7581-u-boot.dtsi        |   71 ++
 arch/arm/dts/en7523-evb-u-boot.dtsi    |    4 +
 arch/arm/dts/en7523-u-boot.dtsi        |   13 +
 arch/arm/dts/en7581-evb-u-boot.dtsi    |   18 +
 configs/an7581_evb_defconfig           |    2 +
 drivers/net/Kconfig                    |    4 +
 drivers/net/Makefile                   |    1 +
 drivers/net/airoha/Kconfig             |   12 +
 drivers/net/airoha/Makefile            |    4 +
 drivers/net/airoha/pcs-airoha-common.c |  827 ++++++++++++++
 drivers/net/airoha/pcs-airoha.h        | 1220 +++++++++++++++++++++
 drivers/net/airoha/pcs-an7581.c        | 1375 ++++++++++++++++++++++++
 drivers/net/airoha_eth.c               |  321 +++++-
 drivers/net/mdio-mt7531-mmio.c         |   24 +-
 14 files changed, 3845 insertions(+), 51 deletions(-)
 create mode 100644 drivers/net/airoha/Kconfig
 create mode 100644 drivers/net/airoha/Makefile
 create mode 100644 drivers/net/airoha/pcs-airoha-common.c
 create mode 100644 drivers/net/airoha/pcs-airoha.h
 create mode 100644 drivers/net/airoha/pcs-an7581.c

-- 
2.51.0

Reply via email to