Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: tegra: add support for Tegra124

Tegra124's MMC controller is very similar to earlier SoC generations,
and can be supported by the same driver.

However, there are some non-backwards-compatible HW differences, and
hence a new DT compatible value must be used to describe the HW. This
patch updates the driver to support that new compatible value.

That said, the HW differences are only relevant when enabling certain
high-performance transfer modes. Since the driver is currently very
simple and doesn't enable those modes, we don't actually need to address
any of these HW differences in the code yet, hence the simple nature of
this patch.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

authored by

Stephen Warren and committed by
Chris Ball
67debea3 538f4696

+1
+1
drivers/mmc/host/sdhci-tegra.c
··· 198 198 }; 199 199 200 200 static const struct of_device_id sdhci_tegra_dt_match[] = { 201 + { .compatible = "nvidia,tegra124-sdhci", .data = &soc_data_tegra114 }, 201 202 { .compatible = "nvidia,tegra114-sdhci", .data = &soc_data_tegra114 }, 202 203 { .compatible = "nvidia,tegra30-sdhci", .data = &soc_data_tegra30 }, 203 204 { .compatible = "nvidia,tegra20-sdhci", .data = &soc_data_tegra20 },