PCI: j721e: Add TI J721E PCIe driver
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 22 Jul 2020 11:03:15 +0000 (16:33 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 3 Aug 2020 13:49:55 +0000 (14:49 +0100)
commitf3e25911a430ed16ec209929183df762fe9c785b
treea5825786199ff58ac96b494d21c8f869fe1100b1
parent45b39e928966fe520de9f4bab6c39a8eca4d3180
PCI: j721e: Add TI J721E PCIe driver

Add support for PCIe controller in J721E SoC. The controller uses the
Cadence PCIe core programmed by pcie-cadence*.c. The PCIe controller
will work in both host mode and device mode.
Some of the features of the controller are:
  *) Supports both RC mode and EP mode
  *) Supports MSI and MSI-X support
  *) Supports upto GEN3 speed mode
  *) Supports SR-IOV capability
  *) Ability to route all transactions via SMMU (support will be added
     in a later patch).

Link: https://lore.kernel.org/r/20200722110317.4744-14-kishon@ti.com
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/cadence/Kconfig
drivers/pci/controller/cadence/Makefile
drivers/pci/controller/cadence/pci-j721e.c [new file with mode: 0644]
drivers/pci/controller/cadence/pcie-cadence-host.c
drivers/pci/controller/cadence/pcie-cadence.h