PCIe support for DRA7xx
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest18 patches 31 repliesIn review
- v117 patches 48 repliesSuperseded
Changes in v2 from the cover letter
* removed external clock support fro APLL since the clock framework patches are still in RFC.
* The configuration address space should be given in *reg* and made the corresponding driver changes in pcie-designware.c
* Used untraslated address while programming ATU since that is needed for DRA7. With this PCIe should be made the child node of axi.
* Used a new irq domain for PCIe legacy interrupts.
* Added clocks and dt data for the second instance of PCIe controller (with status = disabled).
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | phy: phy-omap-pipe3: Add support for PCIe PHYDocumentation/ drivers/ | +84 | 0 replies | |
| 2/18 | phy: pipe3: insert delay to enumerate in GEN2 modeDocumentation/ drivers/ drivers/ +1 more | +71 | 0 replies | |
| 3/18 | PCI: designware: Configuration space should be specified in 'reg'Documentation/ drivers/ | +16 | 12 replies | |
| 4/18 | PCI: designware: use untranslated address while programming ATUdrivers/ drivers/ | +42 | 4 replies | |
| 5/18 | PCI: host: pcie-dra7xx: add support for pcie-dra7xx controllerDocumentation/ drivers/ drivers/ +1 more | +530 | 0 replies | |
| 6/18 | ARM: dts: DRA7: Add divider table to optfclk_pciephy_div clockarch/ | +1 | 3 replies | |
| 7/18 | ARM: dts: DRA7: Change the parent of apll_pcie_in_clk_mux to dpll_pcie_ref_m2ldo_ckarch/ | +1 | 3 replies | |
| 8/18 | arm: dra7xx: Add hwmod data for pcie1 phy and pcie2 phyarch/ arch/ arch/ | +65 | 0 replies | |
| 9/18 | arm: dra7xx: Add hwmod data for pcie1 and pcie2 subsystemsarch/ | +55 | 0 replies | |
| 10/18 | ARM: dts: dra7xx-clocks: Add missing 32khz clocks used for PHYarch/ | +8 | 3 replies | |
| 11/18 | ARM: dts: dra7: Add dt data for PCIe PHY control modulearch/ | +17 | 0 replies | |
| 12/18 | ARM: dts: dra7xx-clocks: rename pcie clocks to accommodate second PHY instancearch/ | +3 | 0 replies | |
| 13/18 | ARM: dts: dra7xx-clocks: Add missing clocks for second PCIe PHY instancearch/ | +24 | 2 replies | |
| 14/18 | ARM: dts: dra7: Add dt data for PCIe PHYarch/ | +39 | 0 replies | |
| 15/18 | ARM: dts: dra7: Add dt data for PCIe controllerarch/ | +69 | 0 replies | |
| 16/18 | ARM: OMAP: Enable PCI for DRA7arch/ | +2 | 4 replies | |
| 17/18 | PCI: host: pcie-dra7xx: use reset framework APIs to reset PCIeDocumentation/ drivers/ | +14 | 0 replies | |
| 18/18 | ARM: dts: dra7: Add *resets* property for PCIe dt nodearch/ | +2 | 0 replies |
Reviews trailers per patch
2 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Roger Quadros |
|---|---|
| 1/18 | R-b |
| 2/18 | R-b |
| 3/18 | |
| 4/18 | |
| 5/18 | |
| 6/18 | |
| 7/18 | |
| 8/18 | |
| 9/18 | |
| 10/18 | |
| 11/18 | |
| 12/18 | |
| 13/18 | |
| 14/18 | |
| 15/18 | |
| 16/18 | |
| 17/18 | |
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/18] 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.
The last couple of patches are marked as *TEMP* since the TI reset driver [1] is not yet merged and is in RFC.
Tested broadcom PCIe card and XIO2000 bridge along with DGE530T ethernet card.
Changes from v1:
* removed external clock support fro APLL since the clock framework patches are still in RFC.
* The configuration address space should be given in *reg* and made the corresponding driver changes in pcie-designware.c
* Used untraslated address while programming ATU since that is needed for DRA7. With this PCIe should be made the child node of axi.
* Used a new irq domain for PCIe legacy interrupts.
* Added clocks and dt data for the second instance of PCIe controller (with status = disabled).
Changes from RFC:
* Added external clock support for PCIE APLL
* Miscellaneous cleanups in Documentation, macro naming etc..
[1] -> http://www.spinics.net/lists/linux-omap/msg106411.html
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 (16):
phy: phy-omap-pipe3: Add support for PCIe PHY
phy: pipe3: insert delay to enumerate in GEN2 mode
PCI: designware: Configuration space should be specified in 'reg'
PCI: designware: use untranslated address while programming ATU
PCI: host: pcie-dra7xx: add support for pcie-dra7xx controller
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: dra7xx-clocks: rename pcie clocks to accommodate second PHY
instance
ARM: dts: dra7xx-clocks: Add missing clocks for second PCIe PHY
instance
ARM: dts: dra7: Add dt data for PCIe PHY
ARM: dts: dra7: Add dt data for PCIe controller
ARM: OMAP: Enable PCI for DRA7
PCI: host: pcie-dra7xx: use reset framework APIs to reset PCIe
ARM: dts: dra7: Add *resets* property for PCIe dt node
.../devicetree/bindings/pci/designware-pcie.txt | 1 + Documentation/devicetree/bindings/pci/ti-pci.txt | 63 +++ Documentation/devicetree/bindings/phy/ti-phy.txt | 20 +- arch/arm/boot/dts/dra7.dtsi | 127 ++++++ arch/arm/boot/dts/dra7xx-clocks.dtsi | 39 +- 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/pci-dra7xx.c | 470 ++++++++++++++++++++ drivers/pci/host/pcie-designware.c | 66 ++- drivers/pci/host/pcie-designware.h | 4 + drivers/phy/phy-omap-control.c | 52 ++- drivers/phy/phy-ti-pipe3.c | 101 ++++- include/linux/phy/omap_control_phy.h | 10 + 17 files changed, 1041 insertions(+), 45 deletions(-) create mode 100644 Documentation/devicetree/bindings/pci/ti-pci.txt create mode 100644 drivers/pci/host/pci-dra7xx.c
Signature · 1 line
1.7.9.5