Skip to content

Add PCIe support for i.MX6q

Sean Cross linux-arm-kernel linux-devicetree linux-pci 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 0 repliesNew
  2. v53 patches 0 repliesSuperseded
  3. v43 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v33 patches0 repliesSuperseded
v23 patches0 repliesSuperseded

Changes in v6 from the cover letter

- Changed "compatible" to "fsl,imx6q-pcie"
- Moved clock_prepare_enable calls back into driver
- Removed clk lookups for lvds[12]_gate

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM: imx: Add LVDS general-purpose clocks to i.MX6QDocumentation/devicetree/bindings/clock/imx6q-clock.txt arch/arm/mach-imx/clk-imx6q.c+23 -10 replies
2/3ARM: imx6q: Add PCIe bits to GPR syscon definitioninclude/linux/mfd/syscon/imx6q-iomuxc-gpr.h+8 -00 replies
3/3PCI: imx6: Add support for i.MX6 PCIe controllerDocumentation/devicetree/bindings/pci/designware-pcie.txt arch/arm/boot/dts/imx6qdl.dtsi arch/arm/mach-imx/Kconfig +4 more+611 -124 replies
3/3PCI: imx6: Add support for i.MX6 PCIe controller+0 -00 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchBjorn HelgaasSascha Hauer
1/3
2/3
3/3A-b A-b
3/3A-b A-b

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

Read the v6 thread

Cover letter [PATCH v6 0/3] Add PCIe support for i.MX6q

This patchset adds support for the PCI Express port present on the i.MX6 SoC. The port is based on Synopsis Designware IP with a custom PHY.

Changes since v5:
- Changed "compatible" to "fsl,imx6q-pcie"
- Moved clock_prepare_enable calls back into driver
- Removed clk lookups for lvds[12]_gate

Changes since v4:
- Add an abort exception handler
- Fix register ordering in imx6q-iomuxc-gpr.h
- Enable sata_ref_100m during clock initialization
- Minor changes to lvds[12]_gate definitions

Changes since v3:
- Moved clock initialization to board clock file
- Reworked memory range layout
- Reduced the duration of several sleep calls

Changes since v2:
- Reworked source file with Sascha Hauer's suggestions

Changes since v1:
- Use the Designware controller code for BAR initialization

Sean Cross (3):
ARM: imx: Add LVDS general-purpose clocks to i.MX6Q
ARM: imx6q: Add PCIe bits to GPR syscon definition
PCI: imx6: Add support for i.MX6 PCIe controller

 .../devicetree/bindings/clock/imx6q-clock.txt      |    4 +
 .../devicetree/bindings/pci/designware-pcie.txt    |    7 +-
 arch/arm/boot/dts/imx6qdl.dtsi                     |   16 +
 arch/arm/mach-imx/Kconfig                          |    2 +
 arch/arm/mach-imx/clk-imx6q.c                      |   24 +-
 drivers/pci/host/Kconfig                           |    6 +
 drivers/pci/host/Makefile                          |    1 +
 drivers/pci/host/pci-imx6.c                        |  576 ++++++++++++++++++++
 include/linux/mfd/syscon/imx6q-iomuxc-gpr.h        |    8 +
 9 files changed, 642 insertions(+), 2 deletions(-)
 create mode 100644 drivers/pci/host/pci-imx6.c
Signature · 1 line
1.7.9.5