memory: tegra: Add Tegra264 MC and EMC support
authorSumit Gupta <sumitg@nvidia.com>
Wed, 9 Jul 2025 22:21:47 +0000 (00:21 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 11 Jul 2025 14:49:42 +0000 (16:49 +0200)
commit2401dc4dcdd02920faa9a8c4384f1503a15e779a
treeab9c4a264ee07a8cda41212798df096adad84e6b
parent1f7bc0ec363bf931dc864c3a66a132d7da9136bc
memory: tegra: Add Tegra264 MC and EMC support

Add support to enable Memory Controller (MC) and External Memory
Controller (EMC) drivers for Tegra264. The nodes for MC and EMC are
mostly the same as Tegra234 but differ in number of channels and
interrupt numbers.

The patch also adds the bandwidth manager definitions required for
Tegra264 and uses them to populate the memory client table. All of
these are needed to properly enable memory interconnect (ICC) support.

Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250709222147.3758356-3-thierry.reding@gmail.com
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/memory/tegra/Makefile
drivers/memory/tegra/mc.c
drivers/memory/tegra/mc.h
drivers/memory/tegra/tegra186-emc.c
drivers/memory/tegra/tegra186.c
drivers/memory/tegra/tegra264-bwmgr.h [new file with mode: 0644]
drivers/memory/tegra/tegra264.c [new file with mode: 0644]