PCI: dwc: intel: PCIe RC controller driver
authorDilip Kota <eswara.kota@linux.intel.com>
Mon, 9 Dec 2019 03:20:05 +0000 (11:20 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 9 Jan 2020 11:57:18 +0000 (11:57 +0000)
commited22aaaede44f647477a5048e62855c0ed49c9bd
treed154b3635328965d70e1109fa395976721888c3b
parente54ea45a4955e8a2901c74ab43870f2a56ed647b
PCI: dwc: intel: PCIe RC controller driver

Add support to PCIe RC controller on Intel Gateway SoCs.
PCIe controller is based of Synopsys DesignWare PCIe core.

Intel PCIe driver requires Upconfigure support, Fast Training
Sequence and link speed configurations. So adding the respective
helper functions in the PCIe DesignWare framework.
It also programs hardware autonomous speed during speed
configuration so defining it in pci_regs.h.

Also, mark Intel PCIe driver depends on MSI IRQ Domain
as Synopsys DesignWare framework depends on the
PCI_MSI_IRQ_DOMAIN.

Signed-off-by: Dilip Kota <eswara.kota@linux.intel.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Acked-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
drivers/pci/controller/dwc/Kconfig
drivers/pci/controller/dwc/Makefile
drivers/pci/controller/dwc/pcie-designware.c
drivers/pci/controller/dwc/pcie-designware.h
drivers/pci/controller/dwc/pcie-intel-gw.c [new file with mode: 0644]
include/uapi/linux/pci_regs.h