[PATCH v3 0/2] Add TI K3 PCIe Controller support for J7200

Siddharth Vadapalli s-vadapalli at ti.com
Mon Oct 14 07:39:22 CEST 2024


Hello,

This series adds support for the Cadence PCIe controller on TI's K3
family of SoCs to which the J7200 SoC belongs. The driver is an adaptation
of the Linux driver (drivers/pci/controller/cadence/pci-j721e.c) and has
been implemented specifically for Root-Complex mode of operation on the
J7200 SoC. A minor set of changes will be sufficient to support other K3
SoCs as well with plans to implement it in the near future.

Series is based on commit
580fb57736 Merge tag 'u-boot-imx-master-20241013' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
of the master branch of U-Boot.

v2:
https://patchwork.ozlabs.org/project/uboot/cover/20241011130258.3452687-1-s-vadapalli@ti.com/
Changes since v2:
- Addressed Tom's feedback at:
  https://patchwork.ozlabs.org/project/uboot/patch/20241011130258.3452687-2-s-vadapalli@ti.com/#3393548
  by adding MAINTAINERS entry for pcie_cdns_ti.c and by fixing
  indentation for all macros.

v1 of this series was posted as an RFC at:
https://patchwork.ozlabs.org/project/uboot/cover/20240821145908.3408573-1-s-vadapalli@ti.com/
Changes since v1:
- Addressed Tom's feedback at:
  https://patchwork.ozlabs.org/project/uboot/patch/20240821145908.3408573-2-s-vadapalli@ti.com/#3365925
  by removing extra headers and replacing usleep_range() with udelay().
- Added inbound translation configuration thereby enabling support for
  NVMe devices.
- Added SoC specific quirks and the corresponding code to handle them.
- Updated j7200_evm_a72_defconfig to enable NVMe configs since NVMe is
  now supported with this series.

The logs corresponding to validating PCI Root-Complex functionality with
an NVMe SSD connected to the PCIe Connector on J7200-EVM are at:
https://gist.github.com/Siddharth-Vadapalli-at-TI/c64a2defa6b5b59e2b734307ad57b2d8

Regards,
Siddharth.

Siddharth Vadapalli (2):
  pci: Add TI K3 Cadence PCIe Controller
  configs: j7200_evm_a72_defconfig: Enable configs for PCI support

 MAINTAINERS                     |   1 +
 configs/j7200_evm_a72_defconfig |   5 +
 drivers/pci/Kconfig             |   6 +
 drivers/pci/Makefile            |   1 +
 drivers/pci/pcie_cdns_ti.c      | 853 ++++++++++++++++++++++++++++++++
 5 files changed, 866 insertions(+)
 create mode 100644 drivers/pci/pcie_cdns_ti.c

-- 
2.40.1



More information about the U-Boot mailing list