From mboxrd@z Thu Jan 1 00:00:00 1970 From: m-karicheri2@ti.com (Murali Karicheri) Date: Thu, 15 May 2014 12:01:27 -0400 Subject: [PATCH v1 0/5] Add Keystone PCIe controller driver Message-ID: <1400169692-9677-1-git-send-email-m-karicheri2@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 CC: Russell King CC: Grant Likely CC: Rob Herring CC: Mohit Kumar CC: Jingoo Han CC: Bjorn Helgaas 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