[PATCH v2 0/5] PCI: tegra: Add Tegra264 support

Thierry Reding
2026-03-20T22:54:46Z

From: Thierry Reding <treding@nvidia.com>

Hi,

this series adds support for the PCIe controllers found on the Tegra264
SoC. There are six instances, one of which is for internal purposes only
and the other five are general purpose.

The first two patches in the series add the BPMP support needed to power
up/down the PCI link. Patch 3 contains the device tree bindings for the
PCIe controller and patch 4 adds the driver. Finally, patch 5 adds DT
nodes for the controllers found on the Tegra264 SoC.

Regarding merging these patches, I think ideally I'd pick up the PCI
driver patch into the Tegra tree because there is a build dependency on
patches 1 and 2. Furthermore, patch 1 depends on another patch that's
already in the Tegra tree, and there will be conflicts if it is merged
in another tree. Alternatively I can provide a stable branch with
patches 1 and 2 for the PCI maintainers to pull in.

Let me know how you'd like to handle this.

Changes in v2:
- fix an issue with sanity-checking disabled BARs
- address review comments

Thanks,
Thierry

Thierry Reding (5):
soc/tegra: Update BPMP ABI header
firmware: tegra: bpmp: Add tegra_bpmp_get_with_id() function
dt-bindings: pci: Document the NVIDIA Tegra264 PCIe controller
PCI: tegra: Add Tegra264 support
arm64: tegra: Add PCI controllers on Tegra264

.../bindings/pci/nvidia,tegra264-pcie.yaml | 149 +
arch/arm64/boot/dts/nvidia/tegra264.dtsi | 248 +-
drivers/firmware/tegra/bpmp.c | 34 +
drivers/pci/controller/Kconfig | 10 +-
drivers/pci/controller/Makefile | 1 +
drivers/pci/controller/pcie-tegra264.c | 527 ++
include/soc/tegra/bpmp-abi.h | 4565 +++++++++++++----
include/soc/tegra/bpmp.h | 1 +
8 files changed, 4613 insertions(+), 922 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pci/nvidia,tegra264-pcie.yaml
create mode 100644 drivers/pci/controller/pcie-tegra264.c

--
2.52.0