[PATCH 0/4] phy: airoha: add support for AN7583 PCIe PHY driver

Christian Marangi
2025-06-06T19:22:38Z

This small series move the current Airoha EN7581 PCIe PHY driver
to a dedicated directory and introduce support for Airoha AN7583 PCIe PHY.

It's not possible to reuse the EN7581 code as the register changed between
the 2 SoC and also the setup method changed (different calibration logic)

Moving the PHY in a dedicated directory is also needed for other series
current pending that will add USB PHY support.

Also a dedicated schema is added as the register names is entirely
different compared to EN7581.

Christian Marangi (4):
phy: move Airoha PCIe PHY driver to dedicated directory
phy: airoha: add EN7581 tag to PCIe PHY driver
dt-bindings: phy: airoha: Document support for AN7583 PCIe PHY
phy: airoha: add support for AN7583 PCIe PHY driver

.../bindings/phy/airoha,an7583-pcie-phy.yaml | 72 ++
MAINTAINERS | 14 +-
drivers/phy/Kconfig | 11 +-
drivers/phy/Makefile | 4 +-
drivers/phy/airoha/Kconfig | 23 +
drivers/phy/airoha/Makefile | 3 +
.../phy/airoha/phy-airoha-an7583-pcie-regs.h | 550 +++++++++
drivers/phy/airoha/phy-airoha-an7583-pcie.c | 1069 +++++++++++++++++
.../phy-airoha-en7581-pcie-regs.h} | 0
.../phy-airoha-en7581-pcie.c} | 6 +-
10 files changed, 1734 insertions(+), 18 deletions(-)
create mode 100644 Documentation/devicetree/bindings/phy/airoha,an7583-pcie-phy.yaml
create mode 100644 drivers/phy/airoha/Kconfig
create mode 100644 drivers/phy/airoha/Makefile
create mode 100644 drivers/phy/airoha/phy-airoha-an7583-pcie-regs.h
create mode 100644 drivers/phy/airoha/phy-airoha-an7583-pcie.c
rename drivers/phy/{phy-airoha-pcie-regs.h => airoha/phy-airoha-en7581-pcie-regs.h} (100%)
rename drivers/phy/{phy-airoha-pcie.c => airoha/phy-airoha-en7581-pcie.c} (99%)

--
2.48.1