[PATCH v1 0/5] Add Keystone PCIe controller driver
From: Jingoo Han <hidden>
Date: 2014-05-16 00:48:39
Also in:
linux-pci, lkml
On Friday, May 16, 2014 1:01 AM, Murali Karicheri wrote:
This patch adds a PCIe controller driver for Keystone SoCs. This is based on the origin RFC patch that I had sent earlier. I have incorporated following comments:- - Add a interrupt controller node for Legacy irq chip and use interrupt map/map-mask property to map legacy IRQs A/B/C/D - Add a Phy driver to replace the original serdes driver - Move common applicaiton register handling code to a separate file to allow re-use across other platforms that use older DW PCIe h/w - PCI quirk for maximum read request size. Check and override only if the maximum is higher than what controller can handle. - Converted to a module platform driver. CC: Santosh Shilimkar <redacted> CC: Russell King <redacted> CC: Grant Likely <redacted> CC: Rob Herring <robh+dt@kernel.org> CC: Mohit Kumar <redacted> CC: Jingoo Han <redacted> CC: Bjorn Helgaas <bhelgaas@google.com>
Your patches modify 'pcie-designware.c', and affects other PCIe drivers using designware PCIe Core IP. Please add the following people to CC list. They are also related to the designware PCIe. Pratyush Anand [off-list ref] Richard Zhu [off-list ref] Kishon Vijay Abraham I [off-list ref] Marek Vasut [off-list ref] Best regards, Jingoo Han
Murali Karicheri (5): ARM: keystone: add pcie related options pci: designware: enhancements to support keystone pcie phy: pci serdes phy driver for keystone pci: dw: add common functions to support old hw based pci driver pci: keystone: add pcie driver based on designware core driver .../devicetree/bindings/pci/pcie-keystone.txt | 68 ++++ arch/arm/mach-keystone/Kconfig | 2 + drivers/pci/host/Kconfig | 12 + drivers/pci/host/Makefile | 2 + drivers/pci/host/pci-dw-old-msi.c | 150 ++++++++ drivers/pci/host/pci-dw-old.c | 371 ++++++++++++++++++ drivers/pci/host/pci-dw-old.h | 30 ++ drivers/pci/host/pci-keystone.c | 400 ++++++++++++++++++++ drivers/pci/host/pcie-designware.c | 101 +++-- drivers/pci/host/pcie-designware.h | 42 +- drivers/pci/quirks.c | 13 + drivers/phy/Kconfig | 6 + drivers/phy/Makefile | 1 + drivers/phy/phy-keystone.c | 230 +++++++++++ 14 files changed, 1388 insertions(+), 40 deletions(-) create mode 100644 Documentation/devicetree/bindings/pci/pcie-keystone.txt create mode 100644 drivers/pci/host/pci-dw-old-msi.c create mode 100644 drivers/pci/host/pci-dw-old.c create mode 100644 drivers/pci/host/pci-dw-old.h create mode 100644 drivers/pci/host/pci-keystone.c create mode 100644 drivers/phy/phy-keystone.c -- 1.7.9.5