Re: [PATCH 0/7] Add ASPEED PCIe Root Complex support

From: neil . armstrong
Date: Fri Jun 13 2025 - 05:18:30 EST


On 13/06/2025 05:29, Jacky Chou wrote:
This patch series adds support for the ASPEED PCIe Root Complex,
including device tree bindings, pinctrl support, and the PCIe host controller
driver. The patches introduce the necessary device tree nodes, pinmux groups,
and driver implementation to enable PCIe functionality on ASPEED platforms.

Summary of changes:
- Add device tree binding documents for ASPEED PCIe PHY, PCIe Config, and PCIe RC
- Update MAINTAINERS for new bindings and driver
- Add PCIe RC node and PERST control pin to aspeed-g6 device tree
- Add PCIe RC PERST pin group to aspeed-g6 pinctrl
- Implement ASPEED PCIe Root Complex host controller driver

This series has been tested on AST2600/AST2700 platforms and enables PCIe device
enumeration and operation.

Feedback and review are welcome.

So it seems all PCIe RC code is bundled in a single driver and there's no
PCIe PHY driver code, is there a reason for that ? If yes I think it should
be described in the cover letter.

Thanks,
Neil


Jacky Chou (7):
dt-bindings: phy: Add document for ASPEED PCIe PHY
dt-bindings: pci: Add document for ASPEED PCIe Config
dt-bindings: pci: Add document for ASPEED PCIe RC
ARM: dts: aspeed-g6: Add AST2600 PCIe RC PERST ctrl pin
ARM: dts: aspeed-g6: Add PCIe RC node
pinctrl: aspeed-g6: Add PCIe RC PERST pin group
pci: aspeed: Add ASPEED PCIe host controller driver

.../bindings/pci/aspeed-pcie-cfg.yaml | 41 +
.../devicetree/bindings/pci/aspeed-pcie.yaml | 159 +++
.../bindings/phy/aspeed-pcie-phy.yaml | 38 +
MAINTAINERS | 10 +
.../boot/dts/aspeed/aspeed-g6-pinctrl.dtsi | 5 +
arch/arm/boot/dts/aspeed/aspeed-g6.dtsi | 53 +
drivers/pci/controller/Kconfig | 13 +
drivers/pci/controller/Makefile | 1 +
drivers/pci/controller/pcie-aspeed.c | 1039 +++++++++++++++++
drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c | 12 +-
10 files changed, 1370 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/pci/aspeed-pcie-cfg.yaml
create mode 100644 Documentation/devicetree/bindings/pci/aspeed-pcie.yaml
create mode 100644 Documentation/devicetree/bindings/phy/aspeed-pcie-phy.yaml
create mode 100644 drivers/pci/controller/pcie-aspeed.c