[PATCH v1 0/5] Add Keystone PCIe controller driver

Murali Karicheri m-karicheri2 at ti.com
Thu May 15 09:01:27 PDT 2014


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 <santosh.shilimkar at ti.com>
CC: Russell King <linux at arm.linux.org.uk>
CC: Grant Likely <grant.likely at linaro.org>
CC: Rob Herring <robh+dt at kernel.org>
CC: Mohit Kumar <mohit.kumar at st.com>
CC: Jingoo Han <jg1.han at samsung.com>
CC: Bjorn Helgaas <bhelgaas at google.com>


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




More information about the linux-arm-kernel mailing list