Skip to content

phy: airoha: add support for AN7583 PCIe PHY driver

Christian Marangi linux-arm-kernel linux-devicetree linux-phy lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4phy: move Airoha PCIe PHY driver to dedicated directoryMAINTAINERS drivers/phy/Kconfig drivers/phy/Makefile +4 more+20 -140 replies
2/4phy: airoha: add EN7581 tag to PCIe PHY driverMAINTAINERS drivers/phy/airoha/Kconfig drivers/phy/airoha/Makefile +2 more+10 -100 replies
3/4dt-bindings: phy: airoha: Document support for AN7583 PCIe PHYDocumentation/devicetree/bindings/phy/airoha,an7583-pcie-phy.yaml+72 -03 replies
4/4phy: airoha: add support for AN7583 PCIe PHY driverMAINTAINERS drivers/phy/airoha/Kconfig drivers/phy/airoha/Makefile +2 more+1638 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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%)
Signature · 1 line
2.48.1