memory: tegra: Add Tegra132 compatible string match
authorThierry Reding <treding@nvidia.com>
Fri, 12 Jun 2020 08:59:00 +0000 (10:59 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 15 Jul 2020 09:55:21 +0000 (11:55 +0200)
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>
drivers/memory/tegra/tegra124-emc.c

index d19fb7ae230da3ceb06a94240abdd288b56f38d7..ba5cb1f4dfc2041903b011a7d42c74b282417437 100644 (file)
@@ -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" },
        {}
 };