[RESEND: RFC PATCH 0/3] Add Keystone pcie driver

Murali Karicheri m-karicheri2 at ti.com
Mon Mar 24 20:35:23 EDT 2014


This is a RFC to add Keystone pcie driver. I had some earlier discussion on
the pcie mailing about this driver and at that time I didn't have the driver
ported to dw core driver. I now have a driver working with intel's e1000e
ethernet driver and want to review this RFC on this list.

Kestone PCIE hardware is based on dw version 3.65. It lacks ATU port and
standard MSI controller found in newer version of the dw hardware. This version
uses registers in PCIE application space to configure MSI controller. It has 4
host irqs for legacy IRQs A/B/C/D and 8 host irqs to muliplex 32 MSI irqs.
Also has one host irq line for errors.

Please review and provide your comments.

CC: Jingoo Han <jg1.han at samsung.com>
CC: Bjorn Helgaas <bhelgaas at google.com>
CC: Kukjin Kim <kgene.kim at samsung.com>
CC: Richard Zhu <r65037 at freescale.com>
CC: Shawn Guo <shawn.guo at linaro.org>
CC: Mohit Kumar <mohit.kumar at st.com>
CC: Santosh Shilimkar <santosh.shilimkar at ti.com>

Murali Karicheri (3):
  ARM: keystone: add pcie related options
  pci: designware: enhancements to support keystone pcie
  pcie: keystone: add pcie driver based on designware core driver

 .../devicetree/bindings/pci/pcie-keystone.txt      |   32 +
 arch/arm/mach-keystone/Kconfig                     |    2 +
 drivers/pci/host/Kconfig                           |    5 +
 drivers/pci/host/Makefile                          |    1 +
 drivers/pci/host/k2-platform.c                     |  191 +++++
 drivers/pci/host/pci-exynos.c                      |    2 +-
 drivers/pci/host/pci-imx6.c                        |    2 +-
 drivers/pci/host/pcie-designware.c                 |   99 ++-
 drivers/pci/host/pcie-designware.h                 |   14 +-
 drivers/pci/host/pcie-keystone.c                   |  860 ++++++++++++++++++++
 drivers/pci/host/pcie-ks-pdata.h                   |   19 +
 drivers/pci/quirks.c                               |   12 +
 12 files changed, 1203 insertions(+), 36 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pci/pcie-keystone.txt
 create mode 100644 drivers/pci/host/k2-platform.c
 create mode 100644 drivers/pci/host/pcie-keystone.c
 create mode 100644 drivers/pci/host/pcie-ks-pdata.h

-- 
1.7.9.5




More information about the linux-arm-kernel mailing list