Skip to content

RFC PCIe support for DRA7xx

Kishon Vijay Abraham I linux-arm-kernel linux-devicetree linux-omap linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest12 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12phy: phy-omap-pipe3: Add support for PCIe PHYDocumentation/devicetree/bindings/phy/ti-phy.txt drivers/phy/phy-ti-pipe3.c+84 -230 replies
2/12pci: host: pcie-dra7xx: add support for pcie-dra7xx controllerDocumentation/devicetree/bindings/pci/ti-pci.txt drivers/pci/host/Kconfig drivers/pci/host/Makefile +1 more+457 -04 replies
3/12pci: host: pcie-designware: Use *base-mask* for configuring the iATUDocumentation/devicetree/bindings/pci/designware-pcie.txt drivers/pci/host/pcie-designware.c drivers/pci/host/pcie-designware.h+29 -123 replies
4/12ARM: dts: DRA7: Add divider table to optfclk_pciephy_div clockarch/arm/boot/dts/dra7xx-clocks.dtsi+1 -00 replies
5/12ARM: dts: DRA7: Change the parent of apll_pcie_in_clk_mux to dpll_pcie_ref_m2ldo_ckarch/arm/boot/dts/dra7xx-clocks.dtsi+1 -10 replies
6/12arm: dra7xx: Add hwmod data for pcie1 phy and pcie2 phyarch/arm/mach-omap2/cm2_7xx.h arch/arm/mach-omap2/omap_hwmod_7xx_data.c arch/arm/mach-omap2/prm7xx.h+65 -00 replies
7/12arm: dra7xx: Add hwmod data for pcie1 and pcie2 subsystemsarch/arm/mach-omap2/omap_hwmod_7xx_data.c+55 -00 replies
8/12ARM: dts: dra7xx-clocks: Add missing 32khz clocks used for PHYarch/arm/boot/dts/dra7xx-clocks.dtsi+8 -00 replies
9/12ARM: dts: dra7: Add dt data for PCIe PHY control modulearch/arm/boot/dts/dra7.dtsi+8 -00 replies
10/12ARM: dts: dra7: Add dt data for PCIe PHYarch/arm/boot/dts/dra7.dtsi+16 -00 replies
11/12ARM: dts: dra7: Add dt data for PCIe controllerarch/arm/boot/dts/dra7.dtsi+24 -00 replies
12/12ARM: OMAP: Enable PCI for DRA7arch/arm/mach-omap2/Kconfig+2 -00 replies

Reviews trailers per patch

1 of 12 patches has a Reviewed-by or Acked-by.

PatchJingoo HanMohit Kumar
1/12
2/12
3/12A-b A-b
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

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

Read the v1 thread

Cover letter [RFC PATCH 00/12] PCIe support for DRA7xx

This patch series adds support for PCIe in DRA7xx including drivers and dt data. PCIe in DRA7xx uses desingware IP and hence this re-uses the pcie desingware driver (pcie-designware.c) by Jingoo.

This patch series depends on a few patches that is already in -next.

Tested broadcom PCIe card and XIO2000 bridge along with DGE530T ethernet card.

Keerthy (2):
ARM: dts: DRA7: Add divider table to optfclk_pciephy_div clock
ARM: dts: DRA7: Change the parent of apll_pcie_in_clk_mux to
dpll_pcie_ref_m2ldo_ck

Kishon Vijay Abraham I (10):
phy: phy-omap-pipe3: Add support for PCIe PHY
pci: host: pcie-dra7xx: add support for pcie-dra7xx controller
pci: host: pcie-designware: Use *base-mask* for configuring the iATU
arm: dra7xx: Add hwmod data for pcie1 phy and pcie2 phy
arm: dra7xx: Add hwmod data for pcie1 and pcie2 subsystems
ARM: dts: dra7xx-clocks: Add missing 32khz clocks used for PHY
ARM: dts: dra7: Add dt data for PCIe PHY control module
ARM: dts: dra7: Add dt data for PCIe PHY
ARM: dts: dra7: Add dt data for PCIe controller
ARM: OMAP: Enable PCI for DRA7

 .../devicetree/bindings/pci/designware-pcie.txt    |    1 +
 Documentation/devicetree/bindings/pci/ti-pci.txt   |   35 ++
 Documentation/devicetree/bindings/phy/ti-phy.txt   |    8 +-
 arch/arm/boot/dts/dra7.dtsi                        |   48 +++
 arch/arm/boot/dts/dra7xx-clocks.dtsi               |   11 +-
 arch/arm/mach-omap2/Kconfig                        |    2 +
 arch/arm/mach-omap2/cm2_7xx.h                      |    4 +
 arch/arm/mach-omap2/omap_hwmod_7xx_data.c          |  112 ++++++
 arch/arm/mach-omap2/prm7xx.h                       |    4 +
 drivers/pci/host/Kconfig                           |   10 +
 drivers/pci/host/Makefile                          |    1 +
 drivers/pci/host/pcie-designware.c                 |   39 +-
 drivers/pci/host/pcie-designware.h                 |    1 +
 drivers/pci/host/pcie-dra7xx.c                     |  411 ++++++++++++++++++++
 drivers/phy/phy-ti-pipe3.c                         |   99 ++++-
 15 files changed, 750 insertions(+), 36 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pci/ti-pci.txt
 create mode 100644 drivers/pci/host/pcie-dra7xx.c
Signature · 1 line
1.7.9.5