Skip to content

phy: airoha: add support for AN7583 PCIe PHY driver

Christian Marangi linux-arm-kernel linux-devicetree linux-phy lkml 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 1 replyIn review
  2. v3 posting 3/316 patches 2 repliesSuperseded
  3. v4 posting 2/22 patches 2 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v3 posting 2/32 patches1 replySuperseded
v4 posting 1/23 patches5 repliesSuperseded
v3 posting 1/33 patches2 repliesSuperseded
v22 patches3 repliesSuperseded
v11 patch1 replySuperseded

Changes in v5 from the cover letter

- Rebase on top of phy/next
- Add Review tag

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: phy: airoha: Document support for AN7583 Gen3 PCIe PHYDocumentation/devicetree/bindings/phy/airoha,an7583-pcie-gen3-phy.yaml+65 -01 reply
2/2phy: airoha: add support for AN7583 Gen3 PCIe PHY driverMAINTAINERS drivers/phy/Kconfig drivers/phy/Makefile +4 more+1227 -10 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchManivannan SadhasivamRob Herring (Arm)
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

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

This small series introduce support for Airoha AN7583 Gen3 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)

Putting 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.

Changes v5:
- Rebase on top of phy/next
- Add Review tag

Changes v4:
- Add REGMAP_MMIO to kconfig
- Better handle exit
- Add additional info on QPHY usage

Changes v3:
- Improve example for Documentation patch
- Deinit G3 PHY on QPHY error

Changes v2:
- Drop move patch (handled in different series)
- Rework to regmap implementation
- Rename files to more specific name
- Add .exit logic
- Drop QPHY in favor of external PHY handling
- Update schema with new requirement and improve example

Christian Marangi (2):
dt-bindings: phy: airoha: Document support for AN7583 Gen3 PCIe PHY
phy: airoha: add support for AN7583 Gen3 PCIe PHY driver

 .../phy/airoha,an7583-pcie-gen3-phy.yaml      |  65 ++
 MAINTAINERS                                   |   8 +
 drivers/phy/Kconfig                           |   1 +
 drivers/phy/Makefile                          |   3 +-
 drivers/phy/airoha/Kconfig                    |  14 +
 drivers/phy/airoha/Makefile                   |   2 +
 drivers/phy/airoha/phy-an7583-pcie-regs.h     | 377 ++++++++
 drivers/phy/airoha/phy-an7583-pcie.c          | 823 ++++++++++++++++++
 8 files changed, 1292 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/phy/airoha,an7583-pcie-gen3-phy.yaml
 create mode 100644 drivers/phy/airoha/Kconfig
 create mode 100644 drivers/phy/airoha/Makefile
 create mode 100644 drivers/phy/airoha/phy-an7583-pcie-regs.h
 create mode 100644 drivers/phy/airoha/phy-an7583-pcie.c
Signature · 1 line
2.55.0