Hello, This series adds support for the Endpoint mode on Cadence PCIe controller on TI's K3 family of SoCs. The driver is an adaptation of the Linux driver (drivers/pci/controller/cadence/pci-j721e.c) and has been implemented specifically for Endpoint mode of operation on AM64X. A minor set of changes will be sufficient to support other K3 SoCs as well.
This patch is tested on AM64X EVM. Following are the log corresponding to this feature. https://gist.github.com/hrushikesh221/e8557cbe7667877c50f7d7e9bb96d060 Changes since v1 As per feedback from Tom 1. Removed unused header files 2. Fixed the spacing in Kconfig 3. Updated commit message to reflect linux kernel version from which endpoint controller driver is adopted. 4. Rebased on current next v1: https://patchwork.ozlabs.org/project/uboot/cover/20250612085023.3457117-1-h-salu...@ti.com/ Series is based on commit 9de873b4c30 Merge patch series "linux/bitfield.h: sync <linux/bitfield.h> from Linux 6.15 + winbond" Hrushikesh Salunke (2): pci_endpoint: Add TI K3 Cadence PCIe Endpoint Controller driver configs: am64x_evm_a53_defconfig: Enable configs for PCI Endpoint mode configs/am64x_evm_a53_defconfig | 2 + drivers/pci_endpoint/Kconfig | 6 + drivers/pci_endpoint/Makefile | 1 + drivers/pci_endpoint/pcie_cdns_ti_ep.c | 395 +++++++++++++++++++++++++ 4 files changed, 404 insertions(+) create mode 100644 drivers/pci_endpoint/pcie_cdns_ti_ep.c -- 2.34.1