summaryrefslogtreecommitdiff
path: root/drivers/memory/tegra/tegra124-emc.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2020-06-12 10:59:00 +0200
committerThierry Reding <treding@nvidia.com>2020-07-15 11:55:21 +0200
commit46c019239fb263922d2881847dd6b614c814d867 (patch)
tree1263a8417403deef0760aa79bdd22340587340e2 /drivers/memory/tegra/tegra124-emc.c
parent0454efbcb2611d338b8d744b9cafeb017cb966bf (diff)
memory: tegra: Add Tegra132 compatible string match
Ensure that the driver will bind against the Tegra132 instantiation of the external memory controller. While the two are roughly the same from a capability perspective, they do require some incompatible changes to the programming sequences and therefore need separate compatible strings. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/memory/tegra/tegra124-emc.c')
-rw-r--r--drivers/memory/tegra/tegra124-emc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/memory/tegra/tegra124-emc.c b/drivers/memory/tegra/tegra124-emc.c
index d19fb7ae230d..ba5cb1f4dfc2 100644
--- a/drivers/memory/tegra/tegra124-emc.c
+++ b/drivers/memory/tegra/tegra124-emc.c
@@ -984,6 +984,7 @@ static int tegra_emc_load_timings_from_dt(struct tegra_emc *emc,
static const struct of_device_id tegra_emc_of_match[] = {
{ .compatible = "nvidia,tegra124-emc" },
+ { .compatible = "nvidia,tegra132-emc" },
{}
};