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

From: Murali Karicheri
Date: Mon Mar 24 2014 - 20:37:19 EST


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@xxxxxxxxxxx>
CC: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
CC: Kukjin Kim <kgene.kim@xxxxxxxxxxx>
CC: Richard Zhu <r65037@xxxxxxxxxxxxx>
CC: Shawn Guo <shawn.guo@xxxxxxxxxx>
CC: Mohit Kumar <mohit.kumar@xxxxxx>
CC: Santosh Shilimkar <santosh.shilimkar@xxxxxx>

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/