summaryrefslogtreecommitdiff
path: root/drivers/memory/tegra/tegra186-emc.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2022-05-06 16:23:09 +0300
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-05-09 11:46:00 +0300
commit72c81bb67026a07d7cd40418520269e12f0657cb (patch)
treea98cb118478825915f7ab992e476a7cab6bd2a5e /drivers/memory/tegra/tegra186-emc.c
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
downloadlinux-72c81bb67026a07d7cd40418520269e12f0657cb.tar.xz
memory: tegra: Add Tegra234 support
The memory controller and external memory controller found on Tegra234 is similar to the version found on earlier SoCs but supports a number of new memory clients. Add initial memory client definitions for the Tegra234 so that the SMMU stream ID override registers can be properly programmed at boot time. Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20220506132312.3910637-2-thierry.reding@gmail.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'drivers/memory/tegra/tegra186-emc.c')
-rw-r--r--drivers/memory/tegra/tegra186-emc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/memory/tegra/tegra186-emc.c b/drivers/memory/tegra/tegra186-emc.c
index 746c4ef2c0af..54b47ca33483 100644
--- a/drivers/memory/tegra/tegra186-emc.c
+++ b/drivers/memory/tegra/tegra186-emc.c
@@ -273,6 +273,9 @@ static const struct of_device_id tegra186_emc_of_match[] = {
#if defined(CONFIG_ARCH_TEGRA_194_SOC)
{ .compatible = "nvidia,tegra194-emc" },
#endif
+#if defined(CONFIG_ARCH_TEGRA_234_SOC)
+ { .compatible = "nvidia,tegra234-emc" },
+#endif
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, tegra186_emc_of_match);