Skip to content

Commit f3e2591

Browse files
kishonLorenzo Pieralisi
authored andcommitted
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/[email protected] Signed-off-by: Kishon Vijay Abraham I <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]>
1 parent 45b39e9 commit f3e2591

File tree

5 files changed

+527
-2
lines changed

5 files changed

+527
-2
lines changed

drivers/pci/controller/cadence/Kconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,27 @@ config PCIE_CADENCE_PLAT_EP
4242
endpoint mode. This PCIe controller may be embedded into many
4343
different vendors SoCs.
4444

45+
config PCI_J721E
46+
bool
47+
48+
config PCI_J721E_HOST
49+
bool "TI J721E PCIe platform host controller"
50+
depends on OF
51+
select PCIE_CADENCE_HOST
52+
select PCI_J721E
53+
help
54+
Say Y here if you want to support the TI J721E PCIe platform
55+
controller in host mode. TI J721E PCIe controller uses Cadence PCIe
56+
core.
57+
58+
config PCI_J721E_EP
59+
bool "TI J721E PCIe platform endpoint controller"
60+
depends on OF
61+
depends on PCI_ENDPOINT
62+
select PCIE_CADENCE_EP
63+
select PCI_J721E
64+
help
65+
Say Y here if you want to support the TI J721E PCIe platform
66+
controller in endpoint mode. TI J721E PCIe controller uses Cadence PCIe
67+
core.
4568
endmenu

drivers/pci/controller/cadence/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ obj-$(CONFIG_PCIE_CADENCE) += pcie-cadence.o
33
obj-$(CONFIG_PCIE_CADENCE_HOST) += pcie-cadence-host.o
44
obj-$(CONFIG_PCIE_CADENCE_EP) += pcie-cadence-ep.o
55
obj-$(CONFIG_PCIE_CADENCE_PLAT) += pcie-cadence-plat.o
6+
obj-$(CONFIG_PCI_J721E) += pci-j721e.o

0 commit comments

Comments
 (0)