]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: memory: tegra: Add Tegra264 support
authorSumit Gupta <sumitg@nvidia.com>
Wed, 9 Jul 2025 22:21:46 +0000 (00:21 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 11 Jul 2025 14:48:06 +0000 (16:48 +0200)
commit0b226380d4cce2e6ee50800d861934d474a30121
tree60c93aeb94fab0fc15fc26d78aa273dc309d5e46
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
dt-bindings: memory: tegra: Add Tegra264 support

Add bindings for the Memory Controller (MC) and External Memory
Controller (EMC) found on the Tegra264 SoC. Tegra264 SoC has a different
number of interrupt lines for MC sub-units: UCF_SOC, hub, hub common,
syncpoint and MC channel. The total number of interrupt lines is eight.
Update maxItems for MC interrupts accordingly.

This also adds a header containing the memory client ID definitions that
are used by the interconnects property in DT and the tegra_mc_client
table in the MC driver. These IDs are defined by the hardware, so the
numbering doesn't start at 0 and contains holes. Also added are the
stream IDs for various hardware blocks found on Tegra264. These are
allocated as blocks of 256 IDs and each block can be subdivided for
additional fine-grained isolation if needed.

Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
[treding@nvidia.com: add SMMU stream IDs, squash patches]
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250709222147.3758356-2-thierry.reding@gmail.com
Signed-off-by: Thierry Reding <treding@nvidia.com>
Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.yaml
include/dt-bindings/memory/nvidia,tegra264.h [new file with mode: 0644]