Skip to content

Commit 588c43a

Browse files
committed
memory: tegra: Add Tegra210 support
Add the table of memory clients and SWGROUPs for Tegra210 to enable SMMU support for this new SoC. Signed-off-by: Thierry Reding <[email protected]>
1 parent 3c01cf3 commit 588c43a

File tree

6 files changed

+1125
-1
lines changed

6 files changed

+1125
-1
lines changed

drivers/iommu/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ config TEGRA_IOMMU_SMMU
222222
select IOMMU_API
223223
help
224224
This driver supports the IOMMU hardware (SMMU) found on NVIDIA Tegra
225-
SoCs (Tegra30 up to Tegra132).
225+
SoCs (Tegra30 up to Tegra210).
226226

227227
config EXYNOS_IOMMU
228228
bool "Exynos IOMMU Support"

drivers/memory/tegra/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ tegra-mc-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra30.o
44
tegra-mc-$(CONFIG_ARCH_TEGRA_114_SOC) += tegra114.o
55
tegra-mc-$(CONFIG_ARCH_TEGRA_124_SOC) += tegra124.o
66
tegra-mc-$(CONFIG_ARCH_TEGRA_132_SOC) += tegra124.o
7+
tegra-mc-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210.o
78

89
obj-$(CONFIG_TEGRA_MC) += tegra-mc.o
910

drivers/memory/tegra/mc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ static const struct of_device_id tegra_mc_of_match[] = {
6565
#endif
6666
#ifdef CONFIG_ARCH_TEGRA_132_SOC
6767
{ .compatible = "nvidia,tegra132-mc", .data = &tegra132_mc_soc },
68+
#endif
69+
#ifdef CONFIG_ARCH_TEGRA_210_SOC
70+
{ .compatible = "nvidia,tegra210-mc", .data = &tegra210_mc_soc },
6871
#endif
6972
{ }
7073
};

drivers/memory/tegra/mc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,8 @@ extern const struct tegra_mc_soc tegra124_mc_soc;
4141
extern const struct tegra_mc_soc tegra132_mc_soc;
4242
#endif
4343

44+
#ifdef CONFIG_ARCH_TEGRA_210_SOC
45+
extern const struct tegra_mc_soc tegra210_mc_soc;
46+
#endif
47+
4448
#endif /* MEMORY_TEGRA_MC_H */

0 commit comments

Comments
 (0)