[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1660628687-25676-1-git-send-email-hongxing.zhu@nxp.com>
Date: Tue, 16 Aug 2022 13:44:37 +0800
From: Richard Zhu <hongxing.zhu@....com>
To: l.stach@...gutronix.de, bhelgaas@...gle.com, robh+dt@...nel.org,
lorenzo.pieralisi@....com, shawnguo@...nel.org, kishon@...com,
kw@...ux.com, frank.li@....com
Cc: hongxing.zhu@....com, linux-pci@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, kernel@...gutronix.de,
linux-imx@....com
Subject: [PATCH v2 0/10] Add iMX PCIe EP mode support
i.MX PCIe controller is one dual mode PCIe controller, and can work either
as RC or EP.
This series add the i.MX PCIe EP mode support. And had been verified on
i.MX8MQ and i.MX8MM EVK boards.
In the verification, one EVK board used as RC, the other one used as EP.
Use the cross TX/RX differential cable connect the two PCIe ports of these
two EVK boards.
+-----------+ +------------+
| PCIe TX |<-------------->|PCIe RX |
| | | |
|EVK Board | |EVK Board |
| | | |
| PCIe RX |<-------------->|PCIe TX |
+-----------+ +------------+
Main changes from v1 -> v2:
- Add Rob's ACK into first two commits.
- Rebase to the tag: pci-v5.20-changes of the pci/next branch.
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml | 2 +
arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 14 +++++++
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 20 ++++++++++
arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 12 ++++++
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 27 +++++++++++++
drivers/misc/pci_endpoint_test.c | 2 +
drivers/pci/controller/dwc/Kconfig | 25 +++++++++++-
drivers/pci/controller/dwc/pci-imx6.c | 181 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
8 files changed, 264 insertions(+), 19 deletions(-)
[PATCH v2 01/10] dt-bindings: imx6q-pcie: Add iMX8MM PCIe EP mode
[PATCH v2 02/10] dt-bindings: imx6q-pcie: Add iMX8MQ PCIe EP mode
[PATCH v2 03/10] PCI: dwc: Kconfig: Add iMX PCIe EP mode support
[PATCH v2 04/10] arm64: dts: Add iMX8MM PCIe EP support
[PATCH v2 05/10] arm64: dts: Add iMX8MQ PCIe EP support
[PATCH v2 06/10] arm64: dts: Add iMX8MM PCIe EP support on EVK board
[PATCH v2 07/10] arm64: dts: Add iMX8MQ PCIe EP support on EVK board
[PATCH v2 08/10] misc: pci_endpoint_test: Add iMX8 PCIe EP device
[PATCH v2 09/10] PCI: imx6: Add iMX8MM PCIe EP mode
[PATCH v2 10/10] PCI: imx6: Add iMX8MQ PCIe EP support
Powered by blists - more mailing lists